Mercurial > emacs
changeset 18124:6f2c80d2425a
(Freplace_match): If opoint is 0, that's relative to ZV.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 02 Jun 1997 18:30:09 +0000 |
parents | 7831ac89a334 |
children | 5b0dfe8c78fb |
files | src/search.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/search.c Mon Jun 02 18:05:00 1997 +0000 +++ b/src/search.c Mon Jun 02 18:30:09 1997 +0000 @@ -1678,7 +1678,7 @@ newpoint = PT; /* Put point back where it was in the text. */ - if (opoint < 0) + if (opoint <= 0) temp_set_point (opoint + ZV, current_buffer); else temp_set_point (opoint, current_buffer);