(Fpos_visible_in_window_p): Return nil if POS > ZV.
authorKarl Heuer <kwzh@gnu.org>
Wed, 2 Feb 1994 07:16:51 +0000 (07:16 +0000)
committerKarl Heuer <kwzh@gnu.org>
Wed, 2 Feb 1994 07:16:51 +0000 (07:16 +0000)
src/window.c

index d521d60..e4ed37b 100644 (file)
@@ -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 */