emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/lazy-lock.el


From: Stefan Monnier
Subject: [Emacs-diffs] Changes to emacs/lisp/lazy-lock.el
Date: Mon, 19 Nov 2001 16:53:18 -0500

Index: emacs/lisp/lazy-lock.el
diff -u emacs/lisp/lazy-lock.el:1.24 emacs/lisp/lazy-lock.el:1.25
--- emacs/lisp/lazy-lock.el:1.24        Thu Aug 16 10:25:15 2001
+++ emacs/lisp/lazy-lock.el     Mon Nov 19 16:53:17 2001
@@ -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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]