]> git.eshelyaron.com Git - emacs.git/commitdiff
Document prefer-window-split-horizontally.
authorEli Zaretskii <eliz@gnu.org>
Sat, 8 Sep 2007 10:40:00 +0000 (10:40 +0000)
committerEli Zaretskii <eliz@gnu.org>
Sat, 8 Sep 2007 10:40:00 +0000 (10:40 +0000)
etc/NEWS
src/ChangeLog

index 4904c20f77a680d0b35c83fb74a68a8bc3439258..3fc02b0a50cc668a27eca4792462ee4c93f924f6 100644 (file)
--- 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.
index 87e761864ab98ef5cb5abc7faa9b5838729c76e1..228148472a5b858a833af9a3cdd25ffbf2ebd418 100644 (file)
@@ -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