From 307958d6cbef7ed8d412004a57057a1eeb1de3cd Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Tue, 24 Nov 1998 08:56:27 +0000 Subject: [PATCH] (syms_of_keyboard): Doc fix. --- src/keyboard.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/keyboard.c b/src/keyboard.c index adfda2e9bcb..a81bb5b04aa 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -9290,12 +9290,16 @@ Buffer modification stores t in this variable."); DEFVAR_LISP ("pre-command-hook", &Vpre_command_hook, "Normal hook run before each command is executed.\n\ -Errors running the hook are caught and ignored."); +If an unhandled error happens in running this hook,\n\ +the hook value is set to nil, since otherwise the error\n\ +might happen repeatedly and make Emacs nonfunctional."); Vpre_command_hook = Qnil; DEFVAR_LISP ("post-command-hook", &Vpost_command_hook, "Normal hook run after each command is executed.\n\ -Errors running the hook are caught and ignored."); +If an unhandled error happens in running this hook,\n\ +the hook value is set to nil, since otherwise the error\n\ +might happen repeatedly and make Emacs nonfunctional."); Vpost_command_hook = Qnil; DEFVAR_LISP ("post-command-idle-hook", &Vpost_command_idle_hook, -- 2.39.2