*** empty log message ***
authorStefan Monnier <monnier@iro.umontreal.ca>
Wed, 29 Nov 2000 18:47:42 +0000 (18:47 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Wed, 29 Nov 2000 18:47:42 +0000 (18:47 +0000)
src/ChangeLog
src/eval.c

index 8d78fc4..e36ebfd 100644 (file)
@@ -1,3 +1,7 @@
+2000-11-29  Stefan Monnier  <monnier@cs.yale.edu>
+
+       * eval.c (Frun_hooks): Allow 0 arguments.
+
 2000-11-29  Gerd Moellmann  <gerd@gnu.org>
 
        * xterm.c (XTmouse_position) [USE_X_TOOLKIT]: When the mouse
index 54ca9eb..8d8b9b1 100644 (file)
@@ -2140,7 +2140,7 @@ Thus, (apply '+ 1 2 '(3 4)) returns 10.")
 
 enum run_hooks_condition {to_completion, until_success, until_failure};
 
-DEFUN ("run-hooks", Frun_hooks, Srun_hooks, 1, MANY, 0,
+DEFUN ("run-hooks", Frun_hooks, Srun_hooks, 0, MANY, 0,
   "Run each hook in HOOKS.  Major mode functions use this.\n\
 Each argument should be a symbol, a hook variable.\n\
 These symbols are processed in the order specified.\n\