aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/process.c b/src/process.c
index b941b5c1f9c..2733fa39113 100644
--- a/src/process.c
+++ b/src/process.c
@@ -7102,6 +7102,10 @@ deliver_child_signal (int sig)
7102static Lisp_Object 7102static Lisp_Object
7103exec_sentinel_error_handler (Lisp_Object error_val) 7103exec_sentinel_error_handler (Lisp_Object error_val)
7104{ 7104{
7105 /* Make sure error_val is a cons cell, as all the rest of error
7106 handling expects that, and will barf otherwise. */
7107 if (!CONSP (error_val))
7108 error_val = Fcons (Qerror, error_val);
7105 cmd_error_internal (error_val, "error in process sentinel: "); 7109 cmd_error_internal (error_val, "error in process sentinel: ");
7106 Vinhibit_quit = Qt; 7110 Vinhibit_quit = Qt;
7107 update_echo_area (); 7111 update_echo_area ();