# HG changeset patch # User Richard M. Stallman # Date 1064925829 0 # Node ID 6b76116caa095b5aa7a3e7139396f1dce532f5f9 # Parent a7331078ec761007bdfbf17b979035da484345ae (rmail-make-summary-line-1): Change comma after last label to a space. (rmail-summary-font-lock-keywords): Adapt to that change. diff -r a7331078ec76 -r 6b76116caa09 lisp/mail/rmailsum.el --- a/lisp/mail/rmailsum.el Tue Sep 30 12:42:56 2003 +0000 +++ b/lisp/mail/rmailsum.el Tue Sep 30 12:43:49 2003 +0000 @@ -51,7 +51,7 @@ ("^.....-.*" . font-lock-type-face) ; Unread. ;; Neither of the below will be highlighted if either of the above are: ("^.....[^D-] \\(......\\)" 1 font-lock-keyword-face) ; Date. - ("{ \\([^\n}]+\\),}" 1 font-lock-comment-face)) ; Labels. + ("{ \\([^\n}]+\\) }" 1 font-lock-comment-face)) ; Labels. "Additional expressions to highlight in Rmail Summary mode.") ;; Entry points for making a summary buffer. @@ -300,8 +300,12 @@ "" (concat "{" (buffer-substring (point) - (progn (end-of-line) (point))) - "} "))))) + (progn (end-of-line) + (backward-char) + (if (looking-at ",") + (point) + (1+ (point))))) + " } "))))) (line (progn (forward-line 1)