From: Karl Heuer Date: Wed, 2 Feb 1994 07:16:51 +0000 (+0000) Subject: (Fpos_visible_in_window_p): Return nil if POS > ZV. X-Git-Tag: emacs-19.34~10113 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=33eb4ede438586aaa315fc6ce1855d4d3c002653;p=emacs.git (Fpos_visible_in_window_p): Return nil if POS > ZV. --- diff --git a/src/window.c b/src/window.c index d521d607995..e4ed37bbec1 100644 --- a/src/window.c +++ b/src/window.c @@ -214,7 +214,7 @@ POS defaults to point; WINDOW, to the selected window.") } else { - if (posint > BUF_Z (buf)) + if (posint > BUF_ZV (buf)) return Qnil; /* If that info is not correct, calculate afresh */