changeset 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 7185ff41e811
children d8dc5dee0c58
files lisp/mail/rmail.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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 " "")