aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman1993-11-16 08:44:51 +0000
committerRichard M. Stallman1993-11-16 08:44:51 +0000
commit827534ea93fc953423de8a8d8b6c25a80a7ed4ec (patch)
tree116163e16c0c5f788b0ea6a9d257300ebbb55896
parent4880982682d624c5df64f3e5219af3e0dd96fb83 (diff)
downloademacs-827534ea93fc953423de8a8d8b6c25a80a7ed4ec.tar.gz
emacs-827534ea93fc953423de8a8d8b6c25a80a7ed4ec.zip
(remove-hook): Doc fix.
-rw-r--r--lisp/subr.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/subr.el b/lisp/subr.el
index 02ada23bb67..6837adc8791 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -497,7 +497,7 @@ function, it is changed to a list of functions."
497 "Remove from the value of HOOK the function FUNCTION. 497 "Remove from the value of HOOK the function FUNCTION.
498HOOK should be a symbol, and FUNCTION may be any valid function. If 498HOOK should be a symbol, and FUNCTION may be any valid function. If
499FUNCTION isn't the value of HOOK, or, if FUNCTION doesn't appear in the 499FUNCTION isn't the value of HOOK, or, if FUNCTION doesn't appear in the
500list of hooks to run in HOOK, then nothing is done. See add-hook." 500list of hooks to run in HOOK, then nothing is done. See `add-hook'."
501 (if (or (not (boundp hook)) ;unbound symbol, or 501 (if (or (not (boundp hook)) ;unbound symbol, or
502 (null (symbol-value hook)) ;value is nil, or 502 (null (symbol-value hook)) ;value is nil, or
503 (null function)) ;function is nil, then 503 (null function)) ;function is nil, then