aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGerd Moellmann2000-11-14 05:44:18 +0000
committerGerd Moellmann2000-11-14 05:44:18 +0000
commit5f0c971db711154bb140052812814506a7419ce0 (patch)
treef447ac7969f25ffd655f9afbe5a98edaeb89e4ca /src
parent04612a647fb6bd6d4e38326a46a3396cd271c3ed (diff)
downloademacs-5f0c971db711154bb140052812814506a7419ce0.tar.gz
emacs-5f0c971db711154bb140052812814506a7419ce0.zip
(Fpos_visible_in_window_p): Call pos_visible with
extra argument.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog19
-rw-r--r--src/window.c4
2 files changed, 21 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 31a116a8fe6..e8abc2970c9 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,22 @@
12000-11-14 Gerd Moellmann <gerd@gnu.org>
2
3 * window.c (Fpos_visible_in_window_p): Call pos_visible with
4 extra argument.
5
6 * xdisp.c (current_mode_line_height, current_header_line_height):
7 New variables.
8 (init_xdisp): Initialize them.
9 (pos_visible_p): Add parameter EXACT_MODE_LINE_HEIGHTS_P. Compute
10 and use exact mode line heights if it is set.
11
12 * lisp.h (pos_visible_p): Change prototype.
13
14 * dispextern.h (CURRENT_MODE_LINE_HEIGHT)
15 (CURRENT_HEADER_LINE_HEIGHT): Look at current_mode_line_height
16 and current_header_line_height first.
17 (current_mode_line_height, current_header_line_height): Declare
18 extern.
19
12000-11-14 Miles Bader <miles@lsi.nec.co.jp> 202000-11-14 Miles Bader <miles@lsi.nec.co.jp>
2 21
3 * xterm.c (x_alloc_lighter_color): Use real brightness calculation. 22 * xterm.c (x_alloc_lighter_color): Use real brightness calculation.
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;