Skip to content

Commit f48ba21

Browse files
committed
emacs fix so that calling e {some_file} always creates new client frame [1]
[1] https://www.gnu.org/software/emacs/manual/html_node/emacs/emacsclient-Options.html
1 parent 27fe578 commit f48ba21

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

zsh/zshrc_emacs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ alias ek="emacsclient -e '(kill-emacs)' && echo 'Killed emacs daemon.'"
1313
# Helper function to connect to emacs daemon with or without arguments.
1414
connect_to_emacs() {
1515
if [ $# -eq 0 ]; then
16-
ec -c -a ""
16+
ec -c
1717
else
18-
ec "$@"
18+
ec -c "$@"
1919
fi
2020
}
2121

0 commit comments

Comments
 (0)