all repos — archive/dotfiles @ cb8f445e6671043318e13243571ae5d3cca94220

Superseded by nixfiles

zsh: Fix emacsclient 'frameNeeded' logic
Alan Pearce alan@alanpearce.co.uk
Mon, 30 Jun 2014 10:20:22 +0100
commit

cb8f445e6671043318e13243571ae5d3cca94220

parent

257caac8bf1d776ef64b9f28229bf3641524af02

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M tag-zsh/config/zsh/zshrctag-zsh/config/zsh/zshrc
@@ -346,7 +346,7 @@ } 
 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