diff options
Diffstat (limited to 'src/window.c')
| -rw-r--r-- | src/window.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/window.c b/src/window.c index 5257c1b0cdb..4c755a3f03e 100644 --- a/src/window.c +++ b/src/window.c | |||
| @@ -337,7 +337,7 @@ POS defaults to point in WINDOW; WINDOW defaults to the selected window.") | |||
| 337 | char in the window. */ | 337 | char in the window. */ |
| 338 | if (!NILP (fully)) | 338 | if (!NILP (fully)) |
| 339 | { | 339 | { |
| 340 | pos_visible_p (w, posint, &fully_p); | 340 | pos_visible_p (w, posint, &fully_p, !NILP (fully)); |
| 341 | in_window = fully_p ? Qt : Qnil; | 341 | in_window = fully_p ? Qt : Qnil; |
| 342 | } | 342 | } |
| 343 | else | 343 | else |
| @@ -350,7 +350,7 @@ POS defaults to point in WINDOW; WINDOW defaults to the selected window.") | |||
| 350 | in_window = Qnil; | 350 | in_window = Qnil; |
| 351 | else | 351 | else |
| 352 | { | 352 | { |
| 353 | if (pos_visible_p (w, posint, &fully_p)) | 353 | if (pos_visible_p (w, posint, &fully_p, !NILP (fully))) |
| 354 | in_window = NILP (fully) || fully_p ? Qt : Qnil; | 354 | in_window = NILP (fully) || fully_p ? Qt : Qnil; |
| 355 | else | 355 | else |
| 356 | in_window = Qnil; | 356 | in_window = Qnil; |