]> code.delx.au - gnu-emacs/commit
* hi-lock.el (hi-lock-buffer-mode): Renamed from `hi-lock-mode'.
authorChong Yidong <cyd@stupidchicken.com>
Thu, 24 Nov 2005 20:52:16 +0000 (20:52 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Thu, 24 Nov 2005 20:52:16 +0000 (20:52 +0000)
commit963b20402dd726ecdf6747c91391e60e36b056fe
tree2b11563db5fe814135e65ea0c6f179f9bd761572
parentf3220d3a39b4a04e15ea387166d804e3b61f1e2a
* 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.
lisp/ChangeLog
lisp/hi-lock.el
lisp/progmodes/compile.el