]> code.delx.au - gnu-emacs/commitdiff
Fix recent w32_enable_frame_resize_hack and display-buffer-below-selected fixes.
authorMartin Rudalics <rudalics@gmx.at>
Mon, 16 Dec 2013 09:58:44 +0000 (10:58 +0100)
committerMartin Rudalics <rudalics@gmx.at>
Mon, 16 Dec 2013 09:58:44 +0000 (10:58 +0100)
* w32term.c (w32_enable_frame_resize_hack): Default to 1.

* window.el (display-buffer-below-selected): Bind
split-height-threshold to 0 as suggested by Juri Linkov.

lisp/ChangeLog
lisp/window.el
src/ChangeLog
src/w32term.c

index fd27eaacc2d9eb77a62e3daa3954cc485fcf4ff7..5876dc37fbfd37c495333529cf51a5648a349289 100644 (file)
@@ -1,3 +1,8 @@
+2013-12-16  Martin Rudalics  <rudalics@gmx.at>
+
+       * window.el (display-buffer-below-selected): Bind
+       split-height-threshold to 0 as suggested by Juri Linkov.
+
 2013-12-16  Leo Liu  <sdl.web@gmail.com>
 
        * progmodes/compile.el (compile-goto-error): Do not push-mark.
index 5ba2f8ac2b91c3b79d83dcb5a138ee211aae670d..c6238ff35164501e8fd86c278a2f091aefba2ea7 100644 (file)
@@ -6245,7 +6245,8 @@ This either splits the selected window or reuses the window below
 the selected one."
   (let (window)
     (or (and (not (frame-parameter nil 'unsplittable))
-            (let (split-width-threshold)
+            (let ((split-height-threshold 0)
+                  split-width-threshold)
               (setq window (window--try-to-split-window (selected-window) alist)))
             (window--display-buffer
              buffer window 'window alist display-buffer-mark-dedicated))
index 7b8a624d6291431865bdf034893c4ff2de3eb7ad..dbd2298985be74c4cb9842b01019c3fd58e29f28 100644 (file)
@@ -1,3 +1,7 @@
+2013-12-16  Martin Rudalics  <rudalics@gmx.at>
+
+       * w32term.c (w32_enable_frame_resize_hack): Default to 1.
+
 2013-12-16  Dmitry Antipov  <dmantipov@yandex.ru>
 
        * font.c (valid_font_driver) [ENABLE_CHECKING]: New function
index e3cdc1d083830b8a9567b744874bfc8b735c4f72..0a8dbb39f7b0fa45946eed0cf45094cfb3174242 100644 (file)
@@ -6679,7 +6679,7 @@ to the Windows API and changing the pixel sizes of the frame and its
 windows after the latter calls back.  If this is non-nil, Emacs changes
 the pixel sizes of the frame and its windows at the time it sends the
 resize request to the API.  */);
-  w32_enable_frame_resize_hack = 0;
+  w32_enable_frame_resize_hack = 1;
 
   /* Tell Emacs about this window system.  */
   Fprovide (Qw32, Qnil);