]> git.eshelyaron.com Git - emacs.git/commitdiff
(rmail-search): Track match with a marker, not an integer.
authorRichard M. Stallman <rms@gnu.org>
Wed, 10 Feb 1999 03:50:50 +0000 (03:50 +0000)
committerRichard M. Stallman <rms@gnu.org>
Wed, 10 Feb 1999 03:50:50 +0000 (03:50 +0000)
lisp/mail/rmail.el

index 6aed2263498136ed91bd867ab8a3bb6915fbd926..8cb138b6f2dfcd989488809979fdbcd8e444ad40 100644 (file)
@@ -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 " "")