diff options
| author | Paul Eggert <eggert@cs.ucla.edu> | 2026-04-17 00:51:54 -0700 |
|---|---|---|
| committer | Paul Eggert <eggert@cs.ucla.edu> | 2026-04-17 00:51:54 -0700 |
| commit | d0935036eb894680d8ca1a4d1ed8e8d5d90005e5 (patch) | |
| tree | b424d0be4a77868d9051a30b35050f141322d833 /lisp | |
| parent | 64211dcb815f2533ac3d2a7e56ff36ae804d8338 (diff) | |
Append newline to emacsclient command
In the next Emacs release, emacsclient will be pickier about
requiring a newline at the end of every command you send it.
This is so that it can distinguish command ends from
dropped connections. So, put a newline at the end
of the -error command that with-editor-return can send.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/with-editor.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/with-editor.el b/lisp/with-editor.el index c17a61b..068cb7d 100644 --- a/lisp/with-editor.el +++ b/lisp/with-editor.el @@ -382,7 +382,7 @@ And some tools that do not handle $EDITOR properly also break." (dolist (client clients) (message "client %S" client) (ignore-errors - (server-send-string client "-error Canceled by user")) + (server-send-string client "-error Canceled by user\n")) (delete-process client)) (when (buffer-live-p buf) (kill-buffer buf))) |
