summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2001-11-19 21:53:17 +0000
committerStefan Monnier <monnier@iro.umontreal.ca>2001-11-19 21:53:17 +0000
commit70af2445b343a7c5908e88df5e07f12d85787187 (patch)
tree5fec09be846d0781d480933252ee4c871ffca32c
parent59fac292ee4f5cd5770fe9b9ec7150365e54f502 (diff)
downloademacs-70af2445b343a7c5908e88df5e07f12d85787187.tar.gz
(lazy-lock-install-hooks): Remove make-local-hook.
-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)