# HG changeset patch # User Karl Heuer # Date 925153964 0 # Node ID 49bd935ccb489a5c2aa5dea051b427d1764ddf38 # Parent c7d905dca6baef21f8eeda0f697f23365232e574 (rmail-next-same-subject): When searching, ignore the same whitespace that was ignored in choosing the subject string. diff -r c7d905dca6ba -r 49bd935ccb48 lisp/mail/rmail.el --- 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)