]> code.delx.au - gnu-emacs/blobdiff - etc/emacs.bash
(mac_make_lispy_event_code): Remove extern.
[gnu-emacs] / etc / emacs.bash
index f47ba6e9ec443a8fe2b9b37d0232c256d0a7d34c..c482e82b361cd9fe91fc21d8665e5c94c68e49c1 100644 (file)
@@ -7,7 +7,7 @@
 # This function assumes the emacs program is named `emacs' and is somewhere
 # in your load path.  If either of these is not true, the most portable
 # (and convenient) thing to do is to make an alias called emacs which
-# refers to the real program, e.g. 
+# refers to the real program, e.g.
 #
 #        alias emacs=/usr/local/bin/gemacs
 #
@@ -22,7 +22,7 @@ function edit ()
  if [ -n "${windowsys:+set}" ]; then
     # Do not just test if these files are sockets.  On some systems
     # ordinary files or fifos are used instead.  Just see if they exist.
-    if [ -e "${HOME}/.emacs_server" -o -e "/tmp/esrv${UID}-"* ]; then
+    if [ -e "${HOME}/.emacs_server" -o -e "/tmp/emacs${UID}/server" ]; then
        emacsclient "$@"
        return $?
     else
@@ -33,7 +33,7 @@ function edit ()
       x ) (emacs "$@" &) ;;
       sun ) (emacstool "$@" &) ;;
     esac
- else   
+ else
     if jobs %emacs 2> /dev/null ; then
        echo "$(pwd)" "$@" >| ${HOME}/.emacs_args && fg %emacs
     else
@@ -43,3 +43,4 @@ function edit ()
 }
 
 
+# arch-tag: 1e1b74b9-bf2c-4b23-870f-9eebff7515cb