summaryrefslogtreecommitdiff
path: root/bin/emacsclient
diff options
context:
space:
mode:
Diffstat (limited to 'bin/emacsclient')
-rwxr-xr-xbin/emacsclient5
1 files changed, 2 insertions, 3 deletions
diff --git a/bin/emacsclient b/bin/emacsclient
index 198e5f58..20e243c7 100755
--- a/bin/emacsclient
+++ b/bin/emacsclient
@@ -108,9 +108,8 @@ if [ -z "$daemon_name" ] && $devel_running && $want_installed; then
inotifywait=$!
kill "$listener"
- # Detach gdb so that Emacs can handle the SIGTERM.
- # We also have to quit gdb so that `gdb-inferior-status' is reset from
- # "signal-received"; see `spw/gdbmacs-attach' function.
+ # Detach gdb so that Emacs can handle the SIGTERM. We also have to quit
+ # gdb so that `spw/gdbmacs-attach' doesn't look at `gdb-inferior-status'.
[ -n "${gdbmacs:=$(get_listener ${socket_dir}gdbmacs)}" ] \
&& "$installed_emacsclient" -sgdbmacs \
--eval '(gud-basic-call "detach")' \