diff lisp/lazy-lock.el @ 41289:11fcc0db18c4

(lazy-lock-install-hooks): Remove make-local-hook.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Mon, 19 Nov 2001 21:53:17 +0000
parents 41dec4b7b2ac
children 45db352a0971
line wrap: on
line diff
--- a/lisp/lazy-lock.el	Mon Nov 19 21:50:44 2001 +0000
+++ b/lisp/lazy-lock.el	Mon Nov 19 21:53:17 2001 +0000
@@ -574,7 +574,6 @@
   ;;
   ;; 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 @@
   ;;
   ;; 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 @@
 	    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)