diff options
author | Gerd Moellmann <[email protected]> | 2001-02-13 09:02:36 +0000 |
---|---|---|
committer | Gerd Moellmann <[email protected]> | 2001-02-13 09:02:36 +0000 |
commit | e9fcba3d594a4cc5f3b59ed88011c1d74529cce3 (patch) | |
tree | 0c87ecaaf55d74e94095ff156a28a9693f67ca76 | |
parent | 78ad1cd532c8da14bb582a56221eb0e17c052855 (diff) |
(hi-lock-find-patterns): Don't activate font-lock-mode.
-rw-r--r-- | lisp/ChangeLog | 4 | ||||
-rw-r--r-- | lisp/hi-lock.el | 1 |
2 files changed, 4 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index ed9ea59cdb..f4e0822924 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2001-02-13 David M. Koppelman <[email protected]> + + * hi-lock.el (hi-lock-find-patterns): Don't activate font-lock-mode. + 2001-02-13 Miles Bader <[email protected]> * faces.el (set-face-background, set-face-foreground) diff --git a/lisp/hi-lock.el b/lisp/hi-lock.el index 0ae3dbddce..20961226cb 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))))))) |