]> git.eshelyaron.com Git - emacs.git/commitdiff
(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 d521d60799578ea468e2b561abcc9d7c2329084f..e4ed37bbec186d9390d7c0d373df474f0612e5c1 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 */