summaryrefslogtreecommitdiff
path: root/bin/emacsclient
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2023-01-14 09:51:44 -0700
committerSean Whitton <spwhitton@spwhitton.name>2023-01-14 09:51:54 -0700
commit1eaec35dc664347c1ca9389983eb6481b3edd983 (patch)
tree016c7e1b6b378e21724f9e967d6cc8995c236ba3 /bin/emacsclient
parentce6717ee00d5d70d2c3688a5d3c1292229196daf (diff)
downloaddotfiles-1eaec35dc664347c1ca9389983eb6481b3edd983.tar.gz
emacsclient wrapper: indentation fixes
Diffstat (limited to 'bin/emacsclient')
-rwxr-xr-xbin/emacsclient24
1 files changed, 12 insertions, 12 deletions
diff --git a/bin/emacsclient b/bin/emacsclient
index b980860b..d4e9da2f 100755
--- a/bin/emacsclient
+++ b/bin/emacsclient
@@ -197,13 +197,13 @@ if [ -z "$daemon_name" ] && $devel_running && $want_installed; then
# gdb so that `spw/gdbmacs-attach' doesn't look at `gdb-inferior-status'.
if [ -n "${gdbmacs:=$(get_listener ${socket_dir}gdbmacs)}" ]; then \
( exec -a emacsclient "$installed_emacsclient" -sgdbmacs -w2 \
- --eval '(gdb-wait-for-pending
- (lambda ()
- (gud-basic-call "detach")
- (gdb-wait-for-pending
- (lambda ()
- (gud-basic-call "quit")))))' ) \
- || fail "gdbmacs detach request failed"
+ --eval '(gdb-wait-for-pending
+ (lambda ()
+ (gud-basic-call "detach")
+ (gdb-wait-for-pending
+ (lambda ()
+ (gud-basic-call "quit")))))' ) \
+ || fail "gdbmacs detach request failed"
fi
wait_inotifywait \
@@ -243,11 +243,11 @@ if ! $want_installed && ! $installed_running && [ -x "$devel_emacsclient" ] \
# because of a timeout, but currently that can be done only by
# parsing emacsclient's output: see Emacs bug#60592.
gud_status="$(exec -a emacsclient "$installed_emacsclient" \
- -sgdbmacs -w2 --eval \
- '(and (boundp '"'"'gud-comint-buffer)
- (get-buffer-process gud-comint-buffer)
- (string= "signal-received"
- gdb-inferior-status))')"
+ -sgdbmacs -w2 --eval \
+ '(and (boundp '"'"'gud-comint-buffer)
+ (get-buffer-process gud-comint-buffer)
+ (string= "signal-received"
+ gdb-inferior-status))')"
if [ $? -eq 0 -a "$gud_status" = t ]; then
maybe_notify "in-tree Emacs appears to be wedged"
pass_to_gdbmacs "$@"