From: Martin Rudalics Date: Mon, 6 Aug 2007 06:47:09 +0000 (+0000) Subject: Add EXFUN for Fwindow_full_width_p. X-Git-Tag: emacs-pretest-22.1.90~1100 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=97958f77753833122cf38500fd1694307647854d;p=emacs.git Add EXFUN for Fwindow_full_width_p. --- diff --git a/src/ChangeLog b/src/ChangeLog index a1128d19c58..109153a9af3 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,27 @@ +2007-08-06 Martin Rudalics + + * window.c (window_min_size_2): New function. + (window_min_size_1, size_window, Fdisplay_buffer) + (Fsplit_window, adjust_window_trailing_edge): Use it to avoid + windows without mode- or header-lines when window-min-height is + too small. + (size_window): Reset nodelete_p after testing it, following an + earlier note by Kim F. Storm. + (display_buffer): Do not set split_height_threshold to twice the + value of window_min_height to avoid changing the value of a + customizable variable. Rather explicitly check whether the + height of the window that shall be splitted is at least as large + as split_height_threshold. + (Fwindow_full_width_p): New defun. + (syms_of_window): Defsubr it. + + * window.h: Add EXFUN for Fwindow_full_width_p. + +2007-08-06 Andreas Schwab + + * window.c (Fdisplay_buffer): Use NILP. + (Fset_window_scroll_bars): Likewise. + 2007-08-03 Richard Stallman * fileio.c (Fvisited_file_modtime): Use make_time. diff --git a/src/window.h b/src/window.h index 7fc97448757..a5c1f34a0ce 100644 --- a/src/window.h +++ b/src/window.h @@ -777,6 +777,7 @@ extern Lisp_Object window_from_coordinates P_ ((struct frame *, int, int, EXFUN (Fwindow_dedicated_p, 1); extern int window_height P_ ((Lisp_Object)); extern int window_width P_ ((Lisp_Object)); +EXFUN (Fwindow_full_width_p, 1); extern void set_window_height P_ ((Lisp_Object, int, int)); extern void set_window_width P_ ((Lisp_Object, int, int)); extern void change_window_heights P_ ((Lisp_Object, int));