]> git.eshelyaron.com Git - emacs.git/commitdiff
(rmail-next-same-subject): When searching, ignore
authorKarl Heuer <kwzh@gnu.org>
Mon, 26 Apr 1999 19:12:44 +0000 (19:12 +0000)
committerKarl Heuer <kwzh@gnu.org>
Mon, 26 Apr 1999 19:12:44 +0000 (19:12 +0000)
the same whitespace that was ignored in choosing the subject string.

lisp/mail/rmail.el

index 03cc374d6bb9a742a60f20dbef26174739e7b24f..56a4eb6b56813e6ab1a1d83870d665b760320a79 100644 (file)
@@ -2504,9 +2504,9 @@ If N is negative, go backwards instead."
        (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)