aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.h
diff options
context:
space:
mode:
authorChong Yidong2005-11-24 20:52:16 +0000
committerChong Yidong2005-11-24 20:52:16 +0000
commit963b20402dd726ecdf6747c91391e60e36b056fe (patch)
tree2b11563db5fe814135e65ea0c6f179f9bd761572 /src/buffer.h
parentf3220d3a39b4a04e15ea387166d804e3b61f1e2a (diff)
downloademacs-963b20402dd726ecdf6747c91391e60e36b056fe.tar.gz
emacs-963b20402dd726ecdf6747c91391e60e36b056fe.zip
* 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.
Diffstat (limited to 'src/buffer.h')
0 files changed, 0 insertions, 0 deletions