]> git.eshelyaron.com Git - emacs.git/commitdiff
(mail-font-lock-keywords): Match any number of
authorRichard M. Stallman <rms@gnu.org>
Sun, 24 Apr 2005 21:32:59 +0000 (21:32 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 24 Apr 2005 21:32:59 +0000 (21:32 +0000)
citation markers at start of each line.

lisp/mail/sendmail.el

index fca28e265b85eeac2630197afab18f0ecf9c17c3..d0b6d84741e2992d53e76efa5f82b186084bac57 100644 (file)
@@ -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.")