aboutsummaryrefslogtreecommitdiffstats
path: root/src/eval.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/eval.c')
-rw-r--r--src/eval.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/eval.c b/src/eval.c
index 4390a23a5d5..8071307b734 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -2234,8 +2234,8 @@ or a list of functions to be called to run the hook.
2234If the value is a function, it is called with no arguments. 2234If the value is a function, it is called with no arguments.
2235If it is a list, the elements are called, in order, with no arguments. 2235If it is a list, the elements are called, in order, with no arguments.
2236 2236
2237To make a hook variable buffer-local, use `make-local-hook', 2237Do not use `make-local-variable' to make a hook variable buffer-local.
2238not `make-local-variable'. 2238Instead, use `add-hook' and specify t for the LOCAL argument.
2239usage: (run-hooks &rest HOOKS) */) 2239usage: (run-hooks &rest HOOKS) */)
2240 (nargs, args) 2240 (nargs, args)
2241 int nargs; 2241 int nargs;
@@ -2265,8 +2265,8 @@ with the given arguments ARGS.
2265It is best not to depend on the value return by `run-hook-with-args', 2265It is best not to depend on the value return by `run-hook-with-args',
2266as that may change. 2266as that may change.
2267 2267
2268To make a hook variable buffer-local, use `make-local-hook', 2268Do not use `make-local-variable' to make a hook variable buffer-local.
2269not `make-local-variable'. 2269Instead, use `add-hook' and specify t for the LOCAL argument.
2270usage: (run-hook-with-args HOOK &rest ARGS) */) 2270usage: (run-hook-with-args HOOK &rest ARGS) */)
2271 (nargs, args) 2271 (nargs, args)
2272 int nargs; 2272 int nargs;
@@ -2284,8 +2284,8 @@ passing arguments ARGS to each of them, until one of them
2284returns a non-nil value. Then we return that value. 2284returns a non-nil value. Then we return that value.
2285If all the functions return nil, we return nil. 2285If all the functions return nil, we return nil.
2286 2286
2287To make a hook variable buffer-local, use `make-local-hook', 2287Do not use `make-local-variable' to make a hook variable buffer-local.
2288not `make-local-variable'. 2288Instead, use `add-hook' and specify t for the LOCAL argument.
2289usage: (run-hook-with-args-until-success HOOK &rest ARGS) */) 2289usage: (run-hook-with-args-until-success HOOK &rest ARGS) */)
2290 (nargs, args) 2290 (nargs, args)
2291 int nargs; 2291 int nargs;
@@ -2303,8 +2303,8 @@ passing arguments ARGS to each of them, until one of them
2303returns nil. Then we return nil. 2303returns nil. Then we return nil.
2304If all the functions return non-nil, we return non-nil. 2304If all the functions return non-nil, we return non-nil.
2305 2305
2306To make a hook variable buffer-local, use `make-local-hook', 2306Do not use `make-local-variable' to make a hook variable buffer-local.
2307not `make-local-variable'. 2307Instead, use `add-hook' and specify t for the LOCAL argument.
2308usage: (run-hook-with-args-until-failure HOOK &rest ARGS) */) 2308usage: (run-hook-with-args-until-failure HOOK &rest ARGS) */)
2309 (nargs, args) 2309 (nargs, args)
2310 int nargs; 2310 int nargs;