From cb8f445e6671043318e13243571ae5d3cca94220 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Mon, 30 Jun 2014 10:20:22 +0100 Subject: zsh: Fix emacsclient 'frameNeeded' logic --- tag-zsh/config/zsh/zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tag-zsh/config/zsh') 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 -- cgit 1.4.1