From: Stefan Monnier Date: Wed, 29 Nov 2000 18:47:42 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: emacs-pretest-21.0.93~371 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8b5176cda8d001047cc05a5daf27291ddc3e6955;p=emacs.git *** empty log message *** --- diff --git a/src/ChangeLog b/src/ChangeLog index 8d78fc42d57..e36ebfd5218 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2000-11-29 Stefan Monnier + + * eval.c (Frun_hooks): Allow 0 arguments. + 2000-11-29 Gerd Moellmann * xterm.c (XTmouse_position) [USE_X_TOOLKIT]: When the mouse diff --git a/src/eval.c b/src/eval.c index 54ca9eb24b1..8d8b9b14d42 100644 --- a/src/eval.c +++ b/src/eval.c @@ -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\