Commit e9fcba3d authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

(hi-lock-find-patterns): Don't activate font-lock-mode.

parent 78ad1cd5
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)
......
......@@ -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)))))))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment