diff options
| author | Richard M. Stallman | 2003-09-30 12:43:49 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2003-09-30 12:43:49 +0000 |
| commit | d8562b03a631e6fc542830f0fef0908474eca364 (patch) | |
| tree | d314766d8f7c5065b8bdd1368fb9c16864de4e10 | |
| parent | 830144d5961b15d110269ea2d78eeacd380dd191 (diff) | |
| download | emacs-d8562b03a631e6fc542830f0fef0908474eca364.tar.gz emacs-d8562b03a631e6fc542830f0fef0908474eca364.zip | |
(rmail-make-summary-line-1): Change comma after last label to a space.
(rmail-summary-font-lock-keywords): Adapt to that change.
| -rw-r--r-- | lisp/mail/rmailsum.el | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/lisp/mail/rmailsum.el b/lisp/mail/rmailsum.el index 3affdf88bb5..cd8d7d67aa4 100644 --- a/lisp/mail/rmailsum.el +++ b/lisp/mail/rmailsum.el | |||
| @@ -51,7 +51,7 @@ | |||
| 51 | ("^.....-.*" . font-lock-type-face) ; Unread. | 51 | ("^.....-.*" . font-lock-type-face) ; Unread. |
| 52 | ;; Neither of the below will be highlighted if either of the above are: | 52 | ;; Neither of the below will be highlighted if either of the above are: |
| 53 | ("^.....[^D-] \\(......\\)" 1 font-lock-keyword-face) ; Date. | 53 | ("^.....[^D-] \\(......\\)" 1 font-lock-keyword-face) ; Date. |
| 54 | ("{ \\([^\n}]+\\),}" 1 font-lock-comment-face)) ; Labels. | 54 | ("{ \\([^\n}]+\\) }" 1 font-lock-comment-face)) ; Labels. |
| 55 | "Additional expressions to highlight in Rmail Summary mode.") | 55 | "Additional expressions to highlight in Rmail Summary mode.") |
| 56 | 56 | ||
| 57 | ;; Entry points for making a summary buffer. | 57 | ;; Entry points for making a summary buffer. |
| @@ -300,8 +300,12 @@ By default, `identity' is set." | |||
| 300 | "" | 300 | "" |
| 301 | (concat "{" | 301 | (concat "{" |
| 302 | (buffer-substring (point) | 302 | (buffer-substring (point) |
| 303 | (progn (end-of-line) (point))) | 303 | (progn (end-of-line) |
| 304 | "} "))))) | 304 | (backward-char) |
| 305 | (if (looking-at ",") | ||
| 306 | (point) | ||
| 307 | (1+ (point))))) | ||
| 308 | " } "))))) | ||
| 305 | (line | 309 | (line |
| 306 | (progn | 310 | (progn |
| 307 | (forward-line 1) | 311 | (forward-line 1) |