forked from colonelpanic/dotfiles
Always use normal emacsclient instead of specific serverfile
This commit is contained in:
parent
789f839df2
commit
3352c38e7d
@ -112,10 +112,11 @@ function time_emacs {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function emacs_editor {
|
function emacs_editor {
|
||||||
|
local client_path="$(which emacsclient)"
|
||||||
if is_osx; then
|
if is_osx; then
|
||||||
reattach-to-user-namespace emacsclient --server-file=server "$@"
|
reattach-to-user-namespace "$client_path" "$@"
|
||||||
else
|
else
|
||||||
emacsclient "$@"
|
"$client_path" "$@"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user