comparison lisp/subr.el @ 21696:2f8ab139c8f1

(remove-hook): Fix spurious quote.
author Dave Love <fx@gnu.org>
date Tue, 21 Apr 1998 18:38:34 +0000
parents 6175866e1b71
children b9ca5d9ba49c
comparison
equal deleted inserted replaced
21695:2c9cfb84bf1b 21696:2f8ab139c8f1
630 the hook's buffer-local value rather than its default value. 630 the hook's buffer-local value rather than its default value.
631 This makes no difference if the hook is not buffer-local. 631 This makes no difference if the hook is not buffer-local.
632 To make a hook variable buffer-local, always use 632 To 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.
639 (if (or local 639 (if (or local
640 ;; Detect the case where make-local-variable was used on a hook 640 ;; Detect the case where make-local-variable was used on a hook