summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2007-09-08 10:40:00 +0000
committerEli Zaretskii <eliz@gnu.org>2007-09-08 10:40:00 +0000
commitf26b9544b51f743ab8b0b79e25646249be097c82 (patch)
treef56751756c4e7e35827d79ea797c376269b77b26
parente80134cd12c3b3cd55d213edb317bc026c9d2045 (diff)
downloademacs-f26b9544b51f743ab8b0b79e25646249be097c82.tar.gz
Document prefer-window-split-horizontally.
-rw-r--r--etc/NEWS7
-rw-r--r--src/ChangeLog6
2 files changed, 13 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 4904c20f77a..3fc02b0a50c 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -37,6 +37,13 @@ a GIF library.
** split-window-preferred-function specifies whether display-buffer should
split windows vertically or horizontally.
+** The new variable prefer-window-split-horizontally specifies how
+display-buffer splits windows. If its value is nil the old behavior
+is kept, i.e. windows are split vertically (above-below). If its
+value is t, windows are split horizontally (side-by-side). If its
+value is a number, windows are split horizontally if the resulting
+window is at least as wide as that number, vertically otherwise.
+
** Support for multiple terminal devices and simultaneous graphical
and tty frames has been added. You can test for the presence of this
feature in your Lisp code by testing for the `multi-tty' feature.
diff --git a/src/ChangeLog b/src/ChangeLog
index 87e761864ab..228148472a5 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,9 @@
+2007-09-08 Fredrik Axelsson <f.axelsson@gmail.com>
+
+ * window.c (prefer_window_split_horizontally): New variable.
+ (display_buffer): Consider splitting window horizontally depending
+ on prefer_window_split_horizontally.
+
2007-09-08 Eli Zaretskii <eliz@gnu.org>
* sysdep.c [WINDOWSNT]: Don't include sysselect.h