Always use normal emacsclient instead of specific serverfile

This commit is contained in:
Ivan Malison 2015-11-17 23:52:37 -08:00
parent 789f839df2
commit 3352c38e7d

View File

@ -112,10 +112,11 @@ function time_emacs {
}
function emacs_editor {
local client_path="$(which emacsclient)"
if is_osx; then
reattach-to-user-namespace emacsclient --server-file=server "$@"
reattach-to-user-namespace "$client_path" "$@"
else
emacsclient "$@"
"$client_path" "$@"
fi
}