From: Gerd Moellmann Date: Tue, 13 Feb 2001 09:02:36 +0000 (+0000) Subject: (hi-lock-find-patterns): Don't activate font-lock-mode. X-Git-Tag: emacs-pretest-21.0.98~26 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=e9fcba3d594a4cc5f3b59ed88011c1d74529cce3;p=emacs.git (hi-lock-find-patterns): Don't activate font-lock-mode. --- 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)))))))