Mercurial > emacs
comparison lib-src/b2m.pl @ 67112:146389d32df6
* hi-lock.el (hi-lock-buffer-mode): Renamed from `hi-lock-mode'.
Use define-minor-mode, and make it a local mode.
(hi-lock-mode): New global minor mode.
(turn-on-hi-lock-if-enabled): New function.
(hi-lock-line-face-buffer, hi-lock-face-buffer)
(hi-lock-set-pattern): Changed arguments to regexp and face
instead of a font-lock pattern. Directly set face property,
instead of refontifying.
(hi-lock-font-lock-hook): Check if font-lock is being turned on.
(hi-lock-find-patterns): Use line-number-at-pos.
(hi-lock-face-phrase-buffer): Call hi-lock-buffer-mode. Use new
arguments for hi-lock-set-pattern.
(hi-lock-find-file-hook, hi-lock-current-line)
(hi-lock-set-patterns): Deleted unused functions.
* progmodes/compile.el (compilation-setup): Don't fiddle with
font-lock-defaults.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Thu, 24 Nov 2005 20:52:16 +0000 |
parents | 23a17af379b1 |
children | 9f287ea4800c 6c13700d1c13 f9a65d7ebd29 |
comparison
equal
deleted
inserted
replaced
67111:e8d805eb4ade | 67112:146389d32df6 |
---|