1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-02 08:22:22 +00:00
Commit Graph

17 Commits

Author SHA1 Message Date
Markus Rost
007f562826 (defgroup hi-lock-interactive-text-highlighting): Remove autoload
cookie.
2002-11-12 00:10:23 +00:00
Stefan Monnier
62cec9fefe *** empty log message *** 2002-02-01 19:31:46 +00:00
Eli Zaretskii
59b7ded872 Don't call x-popup-menu if display-popup-menus-p returns nil. 2001-08-31 17:53:03 +00:00
Pavel Janík
e8af40eed4 Some fixes to follow coding conventions. 2001-07-16 12:23:00 +00:00
Stefan Monnier
b18f5523f4 (hi-lock-line-face-buffer): Wrap the regexp in a group
so ^, $, *, ? and + are interpreted correctly.
2001-03-09 21:16:24 +00:00
Stefan Monnier
932c309e30 (hi-lock-unface-buffer): Use nil rather than t for
predicate passed to completing-read.
2001-02-23 16:17:57 +00:00
Gerd Moellmann
e9fcba3d59 (hi-lock-find-patterns): Don't activate font-lock-mode. 2001-02-13 09:02:36 +00:00
Gerd Moellmann
108ee42bc7 (hi-lock-mode): Toggling hi-lock-mode now affects all
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.
2001-02-06 15:43:37 +00:00
Gerd Moellmann
8564afc9ab (hi-lock-mode, hi-lock-line-face-buffer): Doc fix.
(hi-lock-find-patterns): Turn on font-lock-mode, if it is not
on already.
2001-01-31 15:10:34 +00:00
Dave Love
f5bd8092f2 (hi-lock-exclude-modes): Fix :type. 2001-01-10 17:29:33 +00:00
Gerd Moellmann
99879a40e5 Update from author. 2000-11-28 22:32:46 +00:00
Gerd Moellmann
16cdf14172 (hi-lock-refontify): Don't call non-existent
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.
2000-11-22 19:44:43 +00:00
Miles Bader
c3b2720659 (hi-black-hb):
Use relative :height and inherit from `variable-pitch' face instead of
  hardwiring :family.
2000-09-20 02:07:56 +00:00
Miles Bader
a0b8c9399c (hi-yellow, hi-pink, hi-green, hi-blue): Force the foreground color to
black if the default background is dark.
2000-08-17 00:51:39 +00:00
Eli Zaretskii
cf667bc526 (hi-lock-unface-buffer): If a menu of regexps is
popped up, but the user clicks outside the menu, return an empty
regexp (that causes unhighlight-regexp to have no effect).
2000-08-04 11:39:24 +00:00
Eli Zaretskii
588aca276b (toplevel): Require font-lock. 2000-08-04 08:30:16 +00:00
Gerd Moellmann
abb2db1cf3 *** empty log message *** 2000-08-02 21:29:36 +00:00