comparison lisp/subr.el @ 33707:2b9847c18f31

(make-local-hook): Docstring fix.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Tue, 21 Nov 2000 21:35:38 +0000
parents 6bf2ae19e286
children 233f6f81744b
comparison
equal deleted inserted replaced
33706:8c460ceb4916 33707:2b9847c18f31
670 670
671 (defun make-local-hook (hook) 671 (defun make-local-hook (hook)
672 "Make the hook HOOK local to the current buffer. 672 "Make the hook HOOK local to the current buffer.
673 The return value is HOOK. 673 The return value is HOOK.
674 674
675 You never need to call this function now that `add-hook' does it for you
676 if its LOCAL argument is non-nil.
677
675 When a hook is local, its local and global values 678 When a hook is local, its local and global values
676 work in concert: running the hook actually runs all the hook 679 work in concert: running the hook actually runs all the hook
677 functions listed in *either* the local value *or* the global value 680 functions listed in *either* the local value *or* the global value
678 of the hook variable. 681 of the hook variable.
679 682