From e9fcba3d594a4cc5f3b59ed88011c1d74529cce3 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Tue, 13 Feb 2001 09:02:36 +0000 Subject: [PATCH] (hi-lock-find-patterns): Don't activate font-lock-mode. --- lisp/ChangeLog | 4 ++++ lisp/hi-lock.el | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index ed9ea59cdbd..f4e08229246 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2001-02-13 David M. Koppelman + + * hi-lock.el (hi-lock-find-patterns): Don't activate font-lock-mode. + 2001-02-13 Miles Bader * faces.el (set-face-background, set-face-foreground) diff --git a/lisp/hi-lock.el b/lisp/hi-lock.el index 0ae3dbddce6..20961226cb5 100644 --- a/lisp/hi-lock.el +++ b/lisp/hi-lock.el @@ -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))))))) -- 2.39.5