aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorStefan Monnier2003-05-05 14:36:09 +0000
committerStefan Monnier2003-05-05 14:36:09 +0000
commitadec392eb2463bd7f44417b7617776b8af1cc7ab (patch)
treed9d476a63728358e00c963edbbee9f097d188287 /src
parent375d5635f9cde369ff352c37cf2181fec213220a (diff)
downloademacs-adec392eb2463bd7f44417b7617776b8af1cc7ab.tar.gz
emacs-adec392eb2463bd7f44417b7617776b8af1cc7ab.zip
(safe_run_hooks_error): Display the error instead of silently ignoring it.
Diffstat (limited to 'src')
-rw-r--r--src/keyboard.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/keyboard.c b/src/keyboard.c
index 50be26c6622..8d7e67cf294 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -1988,6 +1988,11 @@ static Lisp_Object
1988safe_run_hooks_error (data) 1988safe_run_hooks_error (data)
1989 Lisp_Object data; 1989 Lisp_Object data;
1990{ 1990{
1991 Lisp_Object args[3];
1992 args[0] = build_string ("Error in %s: %s");
1993 args[1] = Vinhibit_quit;
1994 args[2] = data;
1995 Fmessage (3, args);
1991 return Fset (Vinhibit_quit, Qnil); 1996 return Fset (Vinhibit_quit, Qnil);
1992} 1997}
1993 1998