aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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