mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 04:10:54 -08:00
(mail-font-lock-keywords): Match any number of
citation markers at start of each line.
This commit is contained in:
parent
fc2e9bcbf8
commit
d2f290154d
1 changed files with 4 additions and 5 deletions
|
|
@ -378,13 +378,12 @@ actually occur.")
|
|||
;; Use MATCH-ANCHORED to effectively anchor the regexp left side.
|
||||
`(,cite-chars
|
||||
(,(concat "\\=[ \t]*"
|
||||
"\\(\\([" cite-prefix "]+[" cite-suffix "]*\\)?"
|
||||
"\\(" cite-chars "[ \t]*\\)\\)+"
|
||||
"\\(\\(\\([" cite-prefix "]+[" cite-suffix "]*\\)?"
|
||||
"\\(" cite-chars "[ \t]*\\)\\)+\\)"
|
||||
"\\(.*\\)")
|
||||
(beginning-of-line) (end-of-line)
|
||||
(2 font-lock-comment-delimiter-face nil t)
|
||||
(3 font-lock-comment-delimiter-face nil t)
|
||||
(4 font-lock-comment-face nil t)))
|
||||
(1 font-lock-comment-delimiter-face nil t)
|
||||
(5 font-lock-comment-face nil t)))
|
||||
'("^\\(X-[A-Za-z0-9-]+\\|In-reply-to\\):.*\\(\n[ \t]+.*\\)*$"
|
||||
. font-lock-string-face))))
|
||||
"Additional expressions to highlight in Mail mode.")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue