X-Git-Url: https://git.distorted.org.uk/~mdw/profile/blobdiff_plain/b056f5c4e8a2217aa80dc629c7e32ad3eaa02805..8d6d55b983fb1c1f4cc870195e016380d10fc8dc:/bash_profile diff --git a/bash_profile b/bash_profile index 383acab..af9021f 100644 --- a/bash_profile +++ b/bash_profile @@ -92,7 +92,13 @@ export QMAILINJECT=c # --- Find a text editor --- export MDW_EDITOR=ed -for ed in mg "emacs22 -nw" "emacs21 -nw" "emacs -nw" vi pico nano ae; do +emacs_startup_args="--no-site-file --mdw-fast-startup -nw" +for ed in \ + "emacs22 $emacs_startup_args" \ + "emacs21 $emacs_startup_args" \ + mg \ + "emacs -nw" \ + vi pico nano ae; do name=`echo $ed | sed 's/ .*$//'` if __mdw_programp "$name"; then MDW_EDITOR=$ed