# HG changeset patch # User Karl Heuer # Date 760173411 0 # Node ID 730f63010940aac3d44f84ccd07d388b4c900f1d # Parent eb722251d1568c0bdc6a81f8f01cd2b78a2dcc2d (Fpos_visible_in_window_p): Return nil if POS > ZV. diff -r eb722251d156 -r 730f63010940 src/window.c --- a/src/window.c Wed Feb 02 06:32:28 1994 +0000 +++ b/src/window.c Wed Feb 02 07:16:51 1994 +0000 @@ -214,7 +214,7 @@ } else { - if (posint > BUF_Z (buf)) + if (posint > BUF_ZV (buf)) return Qnil; /* If that info is not correct, calculate afresh */