summaryrefslogtreecommitdiff
path: root/lisp/lazy-lock.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/lazy-lock.el')
-rw-r--r--lisp/lazy-lock.el4
1 files changed, 0 insertions, 4 deletions
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)