I have made a face to highlight elisp comments starting with
;; [ using
hi-lock. My intention is to only colour the expression
(highlight-regexp "^;; \\[.+\\].+$" 'face-aid "\\[.+\\]"))
Tho above does not do the highlight. How does one construct
The documentation for
highlight-regexp states that the function limits face setting to the corresponding
REGEXP. But does not say how a
SUBEXP would look like. Using
SUBEXP is definitely incorrect.
SUBEXPdo you have trouble understanding?