emacs |
# update emacs config (setq server-socket-dir (format "/tmp/emacs%d" (user-uid))) # running emacs client emacsclient --socket-name /tmp/emacs501/server # backup the original emacsclient. sudo mv /usr/bin/emacsclient /usr/bin/emacsclient.old # symlink emacsclient from Emacs.app sudo ln /Applications/Emacs.app/Contents/MacOS/bin/emacsclient /usr/bin/emacsclient