Commit 33eb4ede authored by Karl Heuer's avatar Karl Heuer

(Fpos_visible_in_window_p): Return nil if POS > ZV.

parent 8c86eccd
......@@ -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 */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment