From af5954448519a70407567eb18ff780428b691f95 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Fri, 17 Mar 2000 20:05:14 +0000 Subject: [PATCH] (rmail-summary-font-lock-keywords): Make sure the regexp for labels cannot span several lines. --- lisp/ChangeLog | 6 +++++- lisp/mail/rmailsum.el | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 44ec52f08b3..cd3088f523d 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,6 +1,10 @@ 2000-03-17 Stefan Monnier - * emacs-lisp/cl-macs.el (cl-do-arglist): Don't add (setq : ':). + * mail/rmailsum.el (rmail-summary-font-lock-keywords): Make sure the + regexp for labels cannot span several lines. + + * emacs-lisp/cl-macs.el (cl-do-arglist): Don't add useless + (setq : ':) to the macro expansion. 2000-03-16 Dave Love diff --git a/lisp/mail/rmailsum.el b/lisp/mail/rmailsum.el index 38688190c56..b1387633dbe 100644 --- a/lisp/mail/rmailsum.el +++ b/lisp/mail/rmailsum.el @@ -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. -- 2.39.5