]> git.donarmstrong.com Git - bin.git/commitdiff
use emacs client and deprecate jed and juno in favor of vi
authorDon Armstrong <don@donarmstrong.com>
Fri, 2 Apr 2010 13:55:26 +0000 (13:55 +0000)
committerDon Armstrong <don@donarmstrong.com>
Fri, 2 Apr 2010 13:55:26 +0000 (13:55 +0000)
sane_editor

index b12b99ff4d5ad48af9463ed4cf862e263d88d767..56c98d9650561bf23006f841d4853746a0d6818d 100755 (executable)
@@ -9,17 +9,14 @@
 # ed
 
 # modify the gsrvdir check to search for directories that are owned by me
+if [ -x /usr/bin/emacsclient ] && [ -x /usr/bin/emacs ]; then
+    exec emacsclient -c "$@";
+fi;
 if [ -x /usr/bin/gnuclient ] && [ -x /usr/bin/emacs ]; then
     if ( gnuclient -batch < /dev/null >/dev/null); then
        exec gnuclient "$@";
     fi;
 fi;
-if [ -x /usr/bin/jed ]; then
-    exec jed "$@";
-fi;
-if [ -x /usr/bin/juno ]; then
-    exec juno "$@";
-fi;
 if [ -x /usr/bin/vi ]; then
     exec vi "$@";
 fi;