diff options
author | Tristan Carel <tristan.carel@gmail.com> | 2011-04-14 07:17:10 +0200 |
---|---|---|
committer | Tristan Carel <tristan.carel@gmail.com> | 2011-04-14 07:17:10 +0200 |
commit | a183bcbc6d8d61bd9c1077b45d1c5b3239e96a71 (patch) | |
tree | 07648e33056630569ce6a3761097bcbd6d1527ad /plugins/emacs/emacsclient.sh | |
parent | 5d90f58b37fd67184c4aed3d81a1d3703f8fe832 (diff) | |
download | zsh-a183bcbc6d8d61bd9c1077b45d1c5b3239e96a71.tar.gz zsh-a183bcbc6d8d61bd9c1077b45d1c5b3239e96a71.tar.bz2 zsh-a183bcbc6d8d61bd9c1077b45d1c5b3239e96a71.zip |
More comments
Diffstat (limited to 'plugins/emacs/emacsclient.sh')
-rwxr-xr-x | plugins/emacs/emacsclient.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/emacs/emacsclient.sh b/plugins/emacs/emacsclient.sh index 3475926a6..b098fd24a 100755 --- a/plugins/emacs/emacsclient.sh +++ b/plugins/emacs/emacsclient.sh @@ -6,5 +6,6 @@ x=`emacsclient --alternate-editor '' --eval '(x-display-list)' 2>/dev/null` if [ -z "$x" ] ;then emacsclient --alternate-editor "" --create-frame $@ else + # prevent creating another X frame if there is at least one present. emacsclient --alternate-editor "" $@ fi |