1 |
2005-11-24 Chong Yidong <cyd@stupidchicken.com> |
2005-11-24 Chong Yidong <cyd@stupidchicken.com> |
2 |
|
|
3 |
* hi-lock.el (hi-lock-buffer-mode): Renamed from `hi-lock-mode'. |
* hi-lock.el (hi-lock-buffer-mode): Renamed from `hi-lock-mode'. |
4 |
Use define-minor-mode, and make it a local mode. |
Use define-minor-mode, and make it a local mode. Turn on |
5 |
|
font-lock. |
6 |
(hi-lock-mode): New global minor mode. |
(hi-lock-mode): New global minor mode. |
7 |
(turn-on-hi-lock-if-enabled): New function. |
(turn-on-hi-lock-if-enabled): New function. |
8 |
(hi-lock-line-face-buffer, hi-lock-face-buffer) |
(hi-lock-line-face-buffer, hi-lock-face-buffer) |
14 |
|
|
15 |
(hi-lock-face-phrase-buffer): Call hi-lock-buffer-mode. Use new |
(hi-lock-face-phrase-buffer): Call hi-lock-buffer-mode. Use new |
16 |
arguments for hi-lock-set-pattern. |
arguments for hi-lock-set-pattern. |
17 |
|
(hi-lock-unface-buffer, hi-lock-set-file-patterns): Call |
18 |
|
font-lock-fontify-buffer. |
19 |
(hi-lock-find-file-hook, hi-lock-current-line) |
(hi-lock-find-file-hook, hi-lock-current-line) |
20 |
(hi-lock-set-patterns): Deleted unused functions. |
(hi-lock-refontify, hi-lock-set-patterns): Deleted unused |
21 |
|
functions. |
22 |
|
|
23 |
|
(hi-lock-font-lock-hook): Turn off hi-lock when font lock is |
24 |
|
turned off. |
25 |
|
|
26 |
* progmodes/compile.el (compilation-setup): Don't fiddle with |
* progmodes/compile.el (compilation-setup): Don't fiddle with |
27 |
font-lock-defaults. |
font-lock-defaults. |