Mercurial > emacs
comparison src/window.c @ 5738:730f63010940
(Fpos_visible_in_window_p): Return nil if POS > ZV.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Wed, 02 Feb 1994 07:16:51 +0000 |
parents | 823c0cf7bbc8 |
children | 08286e54ad0e |
comparison
equal
deleted
inserted
replaced
5737:eb722251d156 | 5738:730f63010940 |
---|---|
212 return Qt; | 212 return Qt; |
213 return Qnil; | 213 return Qnil; |
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 */ |
221 posval = *compute_motion (top, 0, 0, posint, height, 0, | 221 posval = *compute_motion (top, 0, 0, posint, height, 0, |
222 window_internal_width (w) - 1, | 222 window_internal_width (w) - 1, |