From d654248610f165b4fc5f8aaa88ceb142b371b016 Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Fri, 28 Oct 2022 23:15:51 -0700 Subject: emacsclient wrapper: fix case when passed both -V and --spw/no-start --- bin/emacsclient | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/emacsclient') 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 -- cgit v1.2.3