changeset 23759:eac4b475c2ea

(syms_of_keyboard): Doc fix.
author Richard M. Stallman <rms@gnu.org>
date Tue, 24 Nov 1998 08:56:27 +0000
parents e6bdd4559dc7
children 63e98b81cc29
files src/keyboard.c
diffstat 1 files changed, 6 insertions(+), 2 deletions(-) [+]
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,