From: Richard M. Stallman Date: Wed, 10 Feb 1999 03:50:50 +0000 (+0000) Subject: (rmail-search): Track match with a marker, not an integer. X-Git-Tag: emacs-20.4~657 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=64e95896cc75a7c6c6bbd3646b27e4a1780f786a;p=emacs.git (rmail-search): Track match with a marker, not an integer. --- diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el index 6aed2263498..8cb138b6f2d 100644 --- a/lisp/mail/rmail.el +++ b/lisp/mail/rmail.el @@ -2427,7 +2427,7 @@ Interactively, empty argument means use same regexp used last time." (goto-char (rmail-msgend msg)) (re-search-backward regexp (rmail-msgbeg msg) t))) - (setq win (point)) + (setq win (point-marker)) (rmail-show-message msg) (message "%sRmail search for %s...done" (if reversep "Reverse " "")