aboutsummaryrefslogtreecommitdiffstats
path: root/src/eval.c
diff options
context:
space:
mode:
authorKaroly Lorentey2005-05-28 21:04:38 +0000
committerKaroly Lorentey2005-05-28 21:04:38 +0000
commit93d7a3669284221c9272784875f69c047873fe04 (patch)
tree853af54aa3e46a73bd248dc7033dbf4e39132f9f /src/eval.c
parentb4bb3cbc7caca5c9c207d9ed42cacb978790af67 (diff)
parent9594f9294b16c3e828b593c4cc9159b6328e1aa3 (diff)
downloademacs-93d7a3669284221c9272784875f69c047873fe04.tar.gz
emacs-93d7a3669284221c9272784875f69c047873fe04.zip
Merged from miles@gnu.org--gnu-2005 (patch 70-73, 320-331)
Patches applied: * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-320 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-321 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-322 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-323 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-324 Merge from gnus--rel--5.10 * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-325 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-326 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-327 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-328 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-329 Update from CVS * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-330 Merge from gnus--rel--5.10 * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-331 Update from CVS * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-70 Update from CVS * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-71 Merge from emacs--cvs-trunk--0 * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-72 Merge from emacs--cvs-trunk--0 * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-73 Update from CVS git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-348
Diffstat (limited to 'src/eval.c')
-rw-r--r--src/eval.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/eval.c b/src/eval.c
index 7f043daa555..8bb201c5df5 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -2292,7 +2292,7 @@ static Lisp_Object run_hook_with_args P_ ((int, Lisp_Object *,
2292 enum run_hooks_condition)); 2292 enum run_hooks_condition));
2293 2293
2294DEFUN ("run-hooks", Frun_hooks, Srun_hooks, 0, MANY, 0, 2294DEFUN ("run-hooks", Frun_hooks, Srun_hooks, 0, MANY, 0,
2295 doc: /* Run each hook in HOOKS. Major mode functions use this. 2295 doc: /* Run each hook in HOOKS.
2296Each argument should be a symbol, a hook variable. 2296Each argument should be a symbol, a hook variable.
2297These symbols are processed in the order specified. 2297These symbols are processed in the order specified.
2298If a hook symbol has a non-nil value, that value may be a function 2298If a hook symbol has a non-nil value, that value may be a function
@@ -2300,6 +2300,9 @@ or a list of functions to be called to run the hook.
2300If the value is a function, it is called with no arguments. 2300If the value is a function, it is called with no arguments.
2301If it is a list, the elements are called, in order, with no arguments. 2301If it is a list, the elements are called, in order, with no arguments.
2302 2302
2303Major modes should not use this function directly to run their mode
2304hook; they should use `run-mode-hooks' instead.
2305
2303Do not use `make-local-variable' to make a hook variable buffer-local. 2306Do not use `make-local-variable' to make a hook variable buffer-local.
2304Instead, use `add-hook' and specify t for the LOCAL argument. 2307Instead, use `add-hook' and specify t for the LOCAL argument.
2305usage: (run-hooks &rest HOOKS) */) 2308usage: (run-hooks &rest HOOKS) */)