summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Rudalics <rudalics@gmx.at>2007-08-06 06:47:09 +0000
committerMartin Rudalics <rudalics@gmx.at>2007-08-06 06:47:09 +0000
commit97958f77753833122cf38500fd1694307647854d (patch)
tree378e2340f6d74f1276a84d24cc96218d9fbebe2c
parent35ea56c96a85e8ecc3c97210a2006e6b3694b062 (diff)
downloademacs-97958f77753833122cf38500fd1694307647854d.tar.gz
Add EXFUN for Fwindow_full_width_p.
-rw-r--r--src/ChangeLog24
-rw-r--r--src/window.h1
2 files changed, 25 insertions, 0 deletions
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 <rudalics@gmx.at>
+
+ * 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 <schwab@suse.de>
+
+ * window.c (Fdisplay_buffer): Use NILP.
+ (Fset_window_scroll_bars): Likewise.
+
2007-08-03 Richard Stallman <rms@gnu.org>
* 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));