changeset 36062:9bb6b89c7f37

(hi-lock-find-patterns): Don't activate font-lock-mode.
author Gerd Moellmann <gerd@gnu.org>
date Tue, 13 Feb 2001 09:02:04 +0000
parents 549acada307e
children 3d71d3074f86
files lisp/hi-lock.el
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/hi-lock.el	Tue Feb 13 02:03:58 2001 +0000
+++ b/lisp/hi-lock.el	Tue Feb 13 09:02:04 2001 +0000
@@ -550,7 +550,6 @@
 				    (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)))))))