# HG changeset patch # User Richard M. Stallman # Date 865276209 0 # Node ID 6f2c80d2425aeec11af9caf301de2b499bba550e # Parent 7831ac89a3344343559341b83e9b49d4aa43bc9a (Freplace_match): If opoint is 0, that's relative to ZV. diff -r 7831ac89a334 -r 6f2c80d2425a src/search.c --- 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);