diff options
| author | Karl Heuer | 1994-02-02 07:16:51 +0000 |
|---|---|---|
| committer | Karl Heuer | 1994-02-02 07:16:51 +0000 |
| commit | 33eb4ede438586aaa315fc6ce1855d4d3c002653 (patch) | |
| tree | dee95f87976b9dbb8874d1169f70a0e6b4641979 /src | |
| parent | 8c86eccda43fb8b2cd8069445f07b3d347c7efe4 (diff) | |
| download | emacs-33eb4ede438586aaa315fc6ce1855d4d3c002653.tar.gz emacs-33eb4ede438586aaa315fc6ce1855d4d3c002653.zip | |
(Fpos_visible_in_window_p): Return nil if POS > ZV.
Diffstat (limited to 'src')
| -rw-r--r-- | src/window.c | 2 |
1 files changed, 1 insertions, 1 deletions
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.") | |||
| 214 | } | 214 | } |
| 215 | else | 215 | else |
| 216 | { | 216 | { |
| 217 | if (posint > BUF_Z (buf)) | 217 | if (posint > BUF_ZV (buf)) |
| 218 | return Qnil; | 218 | return Qnil; |
| 219 | 219 | ||
| 220 | /* If that info is not correct, calculate afresh */ | 220 | /* If that info is not correct, calculate afresh */ |