diff src/keyboard.c @ 23759:eac4b475c2ea

(syms_of_keyboard): Doc fix.
author Richard M. Stallman <rms@gnu.org>
date Tue, 24 Nov 1998 08:56:27 +0000
parents bab640501294
children 594b3116e1b0
line wrap: on
line diff
--- a/src/keyboard.c	Tue Nov 24 04:55:16 1998 +0000
+++ b/src/keyboard.c	Tue Nov 24 08:56:27 1998 +0000
@@ -9290,12 +9290,16 @@
 
   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,