dot-emacs: Make `trap' report the erroneous code.
[profile] / bash_profile
index 3da56a8..bc812d6 100644 (file)
@@ -105,7 +105,7 @@ export QMAILINJECT=c
 # --- Find a text editor ---
 
 export MDW_EDITOR=ed
-for ed in "emacs21 -nw" "emacs -nw" vi pico nano ae; do
+for ed in mg "emacs21 -nw" "emacs -nw" vi pico nano ae; do
   name=`echo $ed | sed 's/ .*$//'`
   if __mdw_programp "$name"; then
     MDW_EDITOR=$ed