changeset 34013:4a60e687c9ab

*** empty log message ***
author Stefan Monnier <monnier@iro.umontreal.ca>
date Wed, 29 Nov 2000 18:47:42 +0000
parents 65aae8790910
children 4d3831f2899f
files src/ChangeLog src/eval.c
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Wed Nov 29 16:56:15 2000 +0000
+++ b/src/ChangeLog	Wed Nov 29 18:47:42 2000 +0000
@@ -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
--- a/src/eval.c	Wed Nov 29 16:56:15 2000 +0000
+++ b/src/eval.c	Wed Nov 29 18:47:42 2000 +0000
@@ -2140,7 +2140,7 @@
 
 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\