From: Karl Heuer Date: Mon, 26 Apr 1999 19:12:44 +0000 (+0000) Subject: (rmail-next-same-subject): When searching, ignore X-Git-Tag: emacs-20.4~315 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=805297bbc0263b06fd373a400b44488385d9e02c;p=emacs.git (rmail-next-same-subject): When searching, ignore the same whitespace that was ignored in choosing the subject string. --- diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el index 03cc374d6bb..56a4eb6b568 100644 --- a/lisp/mail/rmail.el +++ b/lisp/mail/rmail.el @@ -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)