]> git.eshelyaron.com Git - emacs.git/commit
Fix emacsclient when there are irrecoverable file-visiting errors
authorEli Zaretskii <eliz@gnu.org>
Fri, 26 May 2023 10:20:56 +0000 (13:20 +0300)
committerEli Zaretskii <eliz@gnu.org>
Fri, 26 May 2023 10:20:56 +0000 (13:20 +0300)
commitd6f717cd1dc373707440011a1552b78de2654bba
tree7a2e60994b275a08c877c4e3e3564ea09778c676
parentf35648ba0c0f7dac78ea1d1aaad80471238b7ace
Fix emacsclient when there are irrecoverable file-visiting errors

* lisp/server.el (server-process-filter, server-return-error):
Display the error message to be sent to the client as a regular
message, to give the user the opportunity to see it.  Delete the
terminal immediately after sending the error message to the
client, to make sure the terminal's modes are restored.
(Bug#63629)
lisp/server.el