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 c21b862333d..014217edf89 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -632,7 +632,7 @@ This makes no difference if the hook is not buffer-local.
632To make a hook variable buffer-local, always use 632To make a hook variable buffer-local, always use
633`make-local-hook', not `make-local-variable'." 633`make-local-hook', not `make-local-variable'."
634 (if (or (not (boundp hook)) ;unbound symbol, or 634 (if (or (not (boundp hook)) ;unbound symbol, or
635 (not (default-boundp 'hook)) 635 (not (default-boundp hook))
636 (null (symbol-value hook)) ;value is nil, or 636 (null (symbol-value hook)) ;value is nil, or
637 (null function)) ;function is nil, then 637 (null function)) ;function is nil, then
638 nil ;Do nothing. 638 nil ;Do nothing.