diff lisp/mail/rmail.el @ 24292:1e4850ff49cb

(rmail-search): Track match with a marker, not an integer.
author Richard M. Stallman <rms@gnu.org>
date Wed, 10 Feb 1999 03:50:50 +0000
parents 998fefa595a7
children c1bb999de64e
line wrap: on
line diff
--- a/lisp/mail/rmail.el	Wed Feb 10 03:04:15 1999 +0000
+++ b/lisp/mail/rmail.el	Wed Feb 10 03:50:50 1999 +0000
@@ -2427,7 +2427,7 @@
 		  (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 " "")