changeset 24634:49bd935ccb48

(rmail-next-same-subject): When searching, ignore the same whitespace that was ignored in choosing the subject string.
author Karl Heuer <kwzh@gnu.org>
date Mon, 26 Apr 1999 19:12:44 +0000
parents c7d905dca6ba
children fd669611d301
files lisp/mail/rmail.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/mail/rmail.el	Mon Apr 26 06:02:19 1999 +0000
+++ b/lisp/mail/rmail.el	Mon Apr 26 19:12:44 1999 +0000
@@ -2504,9 +2504,9 @@
 	(setq subject (substring subject (match-end 0))))
     (if (string-match "[ \t]+\\'" subject)
 	(setq subject (substring subject 0 (match-beginning 0))))
-    (setq search-regexp (concat "^Subject: *\\(Re: *\\)?"
+    (setq search-regexp (concat "^Subject: *\\(Re:[ \t]*\\)?"
 				(regexp-quote subject)
-				"\n"))
+				"[ \t]*\n"))
     (save-excursion
       (save-restriction
 	(widen)