bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#13892: 24.3.50; Provide for customizing default regexp in hi-lock co


From: Juri Linkov
Subject: bug#13892: 24.3.50; Provide for customizing default regexp in hi-lock commands
Date: Sun, 10 Mar 2013 20:31:03 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (x86_64-pc-linux-gnu)

> Provide for customizing default regexp in hi-lock commands

Actually it's possible do the same for hi-lock commands that read faces.

I mean moving the following part of `hi-lock-read-face-name':

   (defaults (append hi-lock--unused-faces
                     (cdr (member last-used-face hi-lock-face-defaults))
                     hi-lock-face-defaults))

to a new function with a name like `hi-lock-read-face-name-defaults'
where you could implement your wishes for hi-lock face auto-rotation
and auto-selection of the next default face value.  In a separate
function the users would be able to modify its default behavior easily.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]