diff options
author | Tristan Carel <tcarel@exalead.com> | 2011-04-15 18:13:01 +0200 |
---|---|---|
committer | Tristan Carel <tcarel@exalead.com> | 2011-04-15 18:13:01 +0200 |
commit | 49c0a1381a7bd48464a1c33cac6e09770749f795 (patch) | |
tree | 20cf2a0ef2be1a5ae44da5b351387b7ffa4d1095 /plugins/emacs/emacsclient.sh | |
parent | a183bcbc6d8d61bd9c1077b45d1c5b3239e96a71 (diff) | |
download | zsh-49c0a1381a7bd48464a1c33cac6e09770749f795.tar.gz zsh-49c0a1381a7bd48464a1c33cac6e09770749f795.tar.bz2 zsh-49c0a1381a7bd48464a1c33cac6e09770749f795.zip |
- Fix pass of parameters
- Add new function `ecd'.
Diffstat (limited to 'plugins/emacs/emacsclient.sh')
-rwxr-xr-x | plugins/emacs/emacsclient.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/emacs/emacsclient.sh b/plugins/emacs/emacsclient.sh index b098fd24a..7fc2ad202 100755 --- a/plugins/emacs/emacsclient.sh +++ b/plugins/emacs/emacsclient.sh @@ -4,8 +4,8 @@ x=`emacsclient --alternate-editor '' --eval '(x-display-list)' 2>/dev/null` if [ -z "$x" ] ;then - emacsclient --alternate-editor "" --create-frame $@ + emacsclient --alternate-editor "" --create-frame "$@" else # prevent creating another X frame if there is at least one present. - emacsclient --alternate-editor "" $@ + emacsclient --alternate-editor "" "$@" fi |