summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/emacsclient2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/emacsclient b/bin/emacsclient
index fc3208e6..b4a2238b 100755
--- a/bin/emacsclient
+++ b/bin/emacsclient
@@ -137,7 +137,7 @@ if [ -z "$daemon_name" ] && $devel_running && $want_installed; then
fi
# ---- End special case for primary session that's always under gdb
-[ -z "$listener" ] && ! $may_start && exit 0
+[ -z "$listener" ] && ! $may_start && ! $want_version && exit 0
# We check whether there is something which looks like the installed Emacs
# running because we do not want the in-tree emacsclient to try to connect to