From 64e95896cc75a7c6c6bbd3646b27e4a1780f786a Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Wed, 10 Feb 1999 03:50:50 +0000 Subject: [PATCH] (rmail-search): Track match with a marker, not an integer. --- lisp/mail/rmail.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 " "") -- 2.39.2