From: Stefan Monnier Date: Mon, 19 Nov 2001 21:53:17 +0000 (+0000) Subject: (lazy-lock-install-hooks): Remove make-local-hook. X-Git-Tag: ttn-vms-21-2-B4~18360 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=70af2445b343a7c5908e88df5e07f12d85787187;p=emacs.git (lazy-lock-install-hooks): Remove make-local-hook. --- diff --git a/lisp/lazy-lock.el b/lisp/lazy-lock.el index e0e299682e8..82737a9d02a 100644 --- a/lisp/lazy-lock.el +++ b/lisp/lazy-lock.el @@ -574,7 +574,6 @@ verbosity is controlled via the variable `lazy-lock-stealth-verbose'." ;; ;; Add hook if lazy-lock.el is fontifying on scrolling or is deferring. (when (or fontifying defer-change defer-scroll defer-context) - (make-local-hook 'window-scroll-functions) (add-hook 'window-scroll-functions (if defer-scroll 'lazy-lock-defer-after-scroll 'lazy-lock-fontify-after-scroll) @@ -582,7 +581,6 @@ verbosity is controlled via the variable `lazy-lock-stealth-verbose'." ;; ;; Add hook if lazy-lock.el is fontifying and is not deferring changes. (when (and fontifying (not defer-change) (not defer-context)) - (make-local-hook 'before-change-functions) (add-hook 'before-change-functions 'lazy-lock-arrange-before-change nil t)) ;; ;; Replace Font Lock mode hook. @@ -599,9 +597,7 @@ verbosity is controlled via the variable `lazy-lock-stealth-verbose'." nil t) ;; ;; Add package-specific hook. - (make-local-hook 'outline-view-change-hook) (add-hook 'outline-view-change-hook 'lazy-lock-fontify-after-visage nil t) - (make-local-hook 'hs-hide-hook) (add-hook 'hs-hide-hook 'lazy-lock-fontify-after-visage nil t)) (defun lazy-lock-install-timers (dtime stime)