summary refs log tree commit diff stats
path: root/tag-zsh
diff options
context:
space:
mode:
authorAlan Pearce2014-06-30 10:20:22 +0100
committerAlan Pearce2014-06-30 10:20:22 +0100
commitcb8f445e6671043318e13243571ae5d3cca94220 (patch)
treea06969948a221c44e12c4d0ab5ca9094e58e7bb9 /tag-zsh
parent257caac8bf1d776ef64b9f28229bf3641524af02 (diff)
downloadnixfiles-cb8f445e6671043318e13243571ae5d3cca94220.tar.lz
nixfiles-cb8f445e6671043318e13243571ae5d3cca94220.tar.zst
nixfiles-cb8f445e6671043318e13243571ae5d3cca94220.zip
zsh: Fix emacsclient 'frameNeeded' logic
Diffstat (limited to 'tag-zsh')
-rwxr-xr-xtag-zsh/config/zsh/zshrc2
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