diff --git a/dotfiles/emacs.d b/dotfiles/emacs.d index 05b3bc82..2ca32d97 160000 --- a/dotfiles/emacs.d +++ b/dotfiles/emacs.d @@ -1 +1 @@ -Subproject commit 05b3bc8255770dd10aa6c513b2b2ebb8689b0096 +Subproject commit 2ca32d970c859d8d133958db101ce0d7c6b7bfea diff --git a/dotfiles/lib/shellrc/emacs.sh b/dotfiles/lib/shellrc/emacs.sh index 42aa21b6..51923380 100644 --- a/dotfiles/lib/shellrc/emacs.sh +++ b/dotfiles/lib/shellrc/emacs.sh @@ -64,7 +64,7 @@ function emacs_open { fi local server_file="$(emacs_get_running_instances | head -n1)" emacs_make_frame_if_none_exists $server_file - [ ! -z "$@" ] && emacsclient "$@" --server-file="$server_file" + [ ! -z "$*" ] && emacsclient "$@" --server-file="$server_file" focus_emacs }