summaryrefslogtreecommitdiff
path: root/bin/emacsclient
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2022-10-28 23:15:51 -0700
committerSean Whitton <spwhitton@spwhitton.name>2022-10-29 21:47:37 -0700
commitd654248610f165b4fc5f8aaa88ceb142b371b016 (patch)
tree8ee8c6398d8c38c27bda39f469051bf512b4a340 /bin/emacsclient
parent756589550b58bc8485f68f10b732bbc93d70909c (diff)
downloaddotfiles-d654248610f165b4fc5f8aaa88ceb142b371b016.tar.gz
emacsclient wrapper: fix case when passed both -V and --spw/no-start
Diffstat (limited to 'bin/emacsclient')
-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