changeset 28180:f9268a210b0b

(rmail-summary-font-lock-keywords): Make sure the regexp for labels cannot span several lines.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Fri, 17 Mar 2000 20:04:56 +0000
parents 5bcc6166bde4
children 20032164c359
files lisp/mail/rmailsum.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/mail/rmailsum.el	Fri Mar 17 19:35:23 2000 +0000
+++ b/lisp/mail/rmailsum.el	Fri Mar 17 20:04:56 2000 +0000
@@ -50,7 +50,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.
-    ("{ \\([^}]+\\),}" 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.