summaryrefslogtreecommitdiff
path: root/bin/emacsclient
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2022-10-23 23:30:04 -0700
committerSean Whitton <spwhitton@spwhitton.name>2022-10-29 21:47:37 -0700
commite7d9f3ba91a80516cfef93821532f1d7d9436338 (patch)
tree56fa8b3bc5cad0e65958fe591a91b35cfdcc194b /bin/emacsclient
parente95deab78fe96e037fd92bd18003177349b75dfe (diff)
downloaddotfiles-e7d9f3ba91a80516cfef93821532f1d7d9436338.tar.gz
emacsclient wrapper: fix comment
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")' \