aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNoam Postavsky2018-09-02 18:56:38 -0400
committerNoam Postavsky2018-09-04 18:50:29 -0400
commitc0f688808eadb670ffa9d442891adb7bb70c4ade (patch)
tree64ac7cdf1efe2fbb353dc25ece2649a982c5449c
parent425c2811641a6b8ec4549cad5f6bd15a46bc95d5 (diff)
downloademacs-c0f688808eadb670ffa9d442891adb7bb70c4ade.tar.gz
emacs-c0f688808eadb670ffa9d442891adb7bb70c4ade.zip
Handle non-error signals in emacsclient --eval (Bug#10989)
* lisp/server.el (server-process-filter): Handle any signal, not just errors.
-rw-r--r--lisp/server.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/server.el b/lisp/server.el
index 77850e49da3..fd024480bdd 100644
--- a/lisp/server.el
+++ b/lisp/server.el
@@ -1297,7 +1297,7 @@ The following commands are accepted by the client:
1297 1297
1298 (server-execute-continuation proc)))) 1298 (server-execute-continuation proc))))
1299 ;; condition-case 1299 ;; condition-case
1300 (error (server-return-error proc err)))) 1300 (t (server-return-error proc err))))
1301 1301
1302(defun server-execute (proc files nowait commands dontkill create-frame-func tty-name) 1302(defun server-execute (proc files nowait commands dontkill create-frame-func tty-name)
1303 ;; This is run from timers and process-filters, i.e. "asynchronously". 1303 ;; This is run from timers and process-filters, i.e. "asynchronously".