fix emacsclient with this new Emacs on OS X
This commit is contained in:
parent
b912f1bc7b
commit
c57b901c21
1 changed files with 8 additions and 5 deletions
|
|
@ -34,6 +34,9 @@ fi
|
|||
|
||||
# default editors
|
||||
if mac; then
|
||||
# wtf, you must be kidding
|
||||
alias emacsclient="/Applications/Emacs.app/Contents/MacOS/bin/emacsclient \
|
||||
-s \$(find /var/folders -name server -type s -uid $(id -u) 2>| /dev/null | grep emacs) \$*"
|
||||
export EDITOR="emacsclient"
|
||||
export VISUAL="emacsclient"
|
||||
export MANPATH="/opt/local/lib/erlang/man:$MANPATH"
|
||||
|
|
|
|||
Loading…
Reference in a new issue