chiark / gitweb /
Now that Emacs starts up pretty quick, favour it over lesser editors.
authorMark Wooding <mdw@distorted.org.uk>
Thu, 3 Apr 2008 09:03:08 +0000 (10:03 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Thu, 3 Apr 2008 09:03:08 +0000 (10:03 +0100)
bash_profile

index 383acabf6f5ccf8bbca5a79e9375f7329ca55497..af9021f3cd0eef5fbf5f3b4bef830a3450e44358 100644 (file)
@@ -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