(hi-lock-find-patterns): Don't activate font-lock-mode.
authorGerd Moellmann <gerd@gnu.org>
Tue, 13 Feb 2001 09:02:36 +0000 (09:02 +0000)
committerGerd Moellmann <gerd@gnu.org>
Tue, 13 Feb 2001 09:02:36 +0000 (09:02 +0000)
lisp/ChangeLog
lisp/hi-lock.el

index ed9ea59cdbd02042be126a4a30e1c377383aeec8..f4e08229246faf37ae66198d18a08c868cf5fe46 100644 (file)
@@ -1,3 +1,7 @@
+2001-02-13  David M. Koppelman <koppel@ee.lsu.edu>
+
+       * hi-lock.el (hi-lock-find-patterns): Don't activate font-lock-mode.
+
 2001-02-13  Miles Bader  <miles@gnu.org>
 
        * faces.el (set-face-background, set-face-foreground) 
index 0ae3dbddce6099f64cbe20d8029a7e40b4eeff4b..20961226cb513707e9adfa361ca62f56650d8592 100644 (file)
@@ -550,7 +550,6 @@ Optional argument END is maximum excursion."
                                    (hi-lock-current-line))) nil))))
             (if patterns
                 (setq all-patterns (append patterns all-patterns))))))
-      (unless font-lock-mode (font-lock-mode))
       (when hi-lock-mode (hi-lock-set-file-patterns all-patterns))
       (if (interactive-p)
         (message (format "Hi-lock added %d patterns." (length all-patterns)))))))