]> git.eshelyaron.com Git - emacs.git/commitdiff
(lazy-lock-install-hooks): Remove make-local-hook.
authorStefan Monnier <monnier@iro.umontreal.ca>
Mon, 19 Nov 2001 21:53:17 +0000 (21:53 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Mon, 19 Nov 2001 21:53:17 +0000 (21:53 +0000)
lisp/lazy-lock.el

index e0e299682e8ffb3e97d23e2a38044752af0f6363..82737a9d02a5aa386f017036a6ccffb4fc761907 100644 (file)
@@ -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)