aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/hi-lock.el
Commit message (Collapse)AuthorAgeFilesLines
* Don't call x-popup-menu if display-popup-menus-p returns nil.Eli Zaretskii2001-08-311-1/+1
|
* Some fixes to follow coding conventions.Pavel Janík2001-07-161-2/+2
|
* (hi-lock-line-face-buffer): Wrap the regexp in a groupStefan Monnier2001-03-091-1/+3
| | | | so ^, $, *, ? and + are interpreted correctly.
* (hi-lock-unface-buffer): Use nil rather than t forStefan Monnier2001-02-231-1/+1
| | | | predicate passed to completing-read.
* (hi-lock-find-patterns): Don't activate font-lock-mode.Gerd Moellmann2001-02-131-1/+0
|
* (hi-lock-mode): Toggling hi-lock-mode now affects allGerd Moellmann2001-02-061-46/+82
| | | | | | | | | | | | | | | | | | | | | | | | | | | | buffers. When hi-lock turned on rather than only checking current buffer for regexps, all buffers are checked. Moved activation of font-lock to hi-lock-refontify. When font-lock turned off rather than removing added highlighting just in current buffer, remove it in all buffers. Changed edit menu text from "Automatic Highlighting" to "Regexp Highlighting" Documentation for highlighting phrases, minor documentation changes. (hi-lock-set-file-patterns): Execute only if there are new or existing file patterns. (hi-lock-refontify): Assume font-lock-fontify-buffer will first unfontify and, if a support mode is active, will not refontify the whole buffer. If necessary, turn on font lock. (Removed font-lock-unfontify and font-lock support-mode-specific calls, such as lazy-lock-fontify-window.) (hi-lock-find-patterns): Do not turn on hi-lock-mode even if patterns are found. Not useful now since find-file-hook is removed if hi-lock is off, but may be needed for per-buffer hi-lock activation. (hi-lock-face-phrase-buffer): New function. Also added related menu item and keybinding. (highlight-phrase): New alias, to hi-lock-face-phrase-buffer. (hi-lock-process-phrase): New function. (hi-lock-line-face-buffer): Doc fixes. (hi-lock-face-buffer): Doc fixes. (hi-lock-unface-buffer): Doc fixes.
* (hi-lock-mode, hi-lock-line-face-buffer): Doc fix.Gerd Moellmann2001-01-311-4/+5
| | | | | (hi-lock-find-patterns): Turn on font-lock-mode, if it is not on already.
* (hi-lock-exclude-modes): Fix :type.Dave Love2001-01-101-1/+1
|
* Update from author.Gerd Moellmann2000-11-281-5/+2
|
* (hi-lock-refontify): Don't call non-existentGerd Moellmann2000-11-221-5/+6
| | | | | | jit-lock-fontify-buffer; it should anyway be unneccessary to dp anything special when jit-lock is active. (hi-yellow, hi-pink, hi-green, hi-blue): Fix defface specs.
* (hi-black-hb):Miles Bader2000-09-201-1/+1
| | | | | Use relative :height and inherit from `variable-pitch' face instead of hardwiring :family.
* (hi-yellow, hi-pink, hi-green, hi-blue): Force the foreground color toMiles Bader2000-08-171-4/+8
| | | | black if the default background is dark.
* (hi-lock-unface-buffer): If a menu of regexps isEli Zaretskii2000-08-041-16/+25
| | | | | popped up, but the user clicks outside the menu, return an empty regexp (that causes unhighlight-regexp to have no effect).
* (toplevel): Require font-lock.Eli Zaretskii2000-08-041-1/+1
|
* *** empty log message ***Gerd Moellmann2000-08-021-0/+518