diff options
author | Alan Pearce | 2014-06-30 10:20:22 +0100 |
---|---|---|
committer | Alan Pearce | 2014-06-30 10:20:22 +0100 |
commit | cb8f445e6671043318e13243571ae5d3cca94220 (patch) | |
tree | a06969948a221c44e12c4d0ab5ca9094e58e7bb9 /tag-zsh/config | |
parent | 257caac8bf1d776ef64b9f28229bf3641524af02 (diff) | |
download | nixfiles-cb8f445e6671043318e13243571ae5d3cca94220.tar.lz nixfiles-cb8f445e6671043318e13243571ae5d3cca94220.tar.zst nixfiles-cb8f445e6671043318e13243571ae5d3cca94220.zip |
zsh: Fix emacsclient 'frameNeeded' logic
Diffstat (limited to 'tag-zsh/config')
-rwxr-xr-x | tag-zsh/config/zsh/zshrc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tag-zsh/config/zsh/zshrc b/tag-zsh/config/zsh/zshrc index b7688921..4375ceb9 100755 --- a/tag-zsh/config/zsh/zshrc +++ b/tag-zsh/config/zsh/zshrc @@ -346,7 +346,7 @@ emacs_change_focus () { ec () { local frameNeeded - frameNeeded=`emacsclient -e '(>= (if (daemonp) 2 1) (length (visible-frame-list)))'` + frameNeeded=`emacsclient -e '(> (if (daemonp) 2 1) (length (visible-frame-list)))'` if [[ $? -ne 0 ]]; then print "Daemon not running" return 1 |