comparison lisp/ChangeLog @ 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 682814e87b5a
children 152403ad207b
comparison
equal deleted inserted replaced
67111:e8d805eb4ade 67112:146389d32df6
1 2005-11-24 Chong Yidong <cyd@stupidchicken.com>
2
3 * hi-lock.el (hi-lock-buffer-mode): Renamed from `hi-lock-mode'.
4 Use define-minor-mode, and make it a local mode.
5 (hi-lock-mode): New global minor mode.
6 (turn-on-hi-lock-if-enabled): New function.
7 (hi-lock-line-face-buffer, hi-lock-face-buffer)
8 (hi-lock-set-pattern): Changed arguments to regexp and face
9 instead of a font-lock pattern. Directly set face property,
10 instead of refontifying.
11 (hi-lock-font-lock-hook): Check if font-lock is being turned on.
12 (hi-lock-find-patterns): Use line-number-at-pos.
13
14 (hi-lock-face-phrase-buffer): Call hi-lock-buffer-mode. Use new
15 arguments for hi-lock-set-pattern.
16 (hi-lock-find-file-hook, hi-lock-current-line)
17 (hi-lock-set-patterns): Deleted unused functions.
18
19 * progmodes/compile.el (compilation-setup): Don't fiddle with
20 font-lock-defaults.
21
1 2005-11-25 Nick Roberts <nickrob@snap.net.nz> 22 2005-11-25 Nick Roberts <nickrob@snap.net.nz>
2 23
3 * progmodes/gdb-ui.el (gdb-var-create-handler) 24 * progmodes/gdb-ui.el (gdb-var-create-handler)
4 (gdb-var-list-children-handler): Find values for all variable 25 (gdb-var-list-children-handler): Find values for all variable
5 objects. gud-speedbar-buttons decides whether to display them. 26 objects. gud-speedbar-buttons decides whether to display them.