emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] trunk r115543: Fix recent w32_enable_frame_resize_hack and


From: Martin Rudalics
Subject: [Emacs-diffs] trunk r115543: Fix recent w32_enable_frame_resize_hack and display-buffer-below-selected fixes.
Date: Mon, 16 Dec 2013 09:59:04 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 115543
revision-id: address@hidden
parent: address@hidden
committer: martin rudalics <address@hidden>
branch nick: trunk
timestamp: Mon 2013-12-16 10:58:44 +0100
message:
  Fix recent w32_enable_frame_resize_hack and display-buffer-below-selected 
fixes.
  
  * 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.
modified:
  lisp/ChangeLog                 changelog-20091113204419-o5vbwnq5f7feedwu-1432
  lisp/window.el                 window.el-20091113204419-o5vbwnq5f7feedwu-94
  src/ChangeLog                  changelog-20091113204419-o5vbwnq5f7feedwu-1438
  src/w32term.c                  w32term.c-20091113204419-o5vbwnq5f7feedwu-950
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2013-12-16 08:07:10 +0000
+++ b/lisp/ChangeLog    2013-12-16 09:58:44 +0000
@@ -1,3 +1,8 @@
+2013-12-16  Martin Rudalics  <address@hidden>
+
+       * window.el (display-buffer-below-selected): Bind
+       split-height-threshold to 0 as suggested by Juri Linkov.
+
 2013-12-16  Leo Liu  <address@hidden>
 
        * progmodes/compile.el (compile-goto-error): Do not push-mark.

=== modified file 'lisp/window.el'
--- a/lisp/window.el    2013-12-14 17:00:54 +0000
+++ b/lisp/window.el    2013-12-16 09:58:44 +0000
@@ -6245,7 +6245,8 @@
 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))

=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2013-12-16 07:45:33 +0000
+++ b/src/ChangeLog     2013-12-16 09:58:44 +0000
@@ -1,3 +1,7 @@
+2013-12-16  Martin Rudalics  <address@hidden>
+
+       * w32term.c (w32_enable_frame_resize_hack): Default to 1.
+
 2013-12-16  Dmitry Antipov  <address@hidden>
 
        * font.c (valid_font_driver) [ENABLE_CHECKING]: New function

=== modified file 'src/w32term.c'
--- a/src/w32term.c     2013-12-15 17:40:44 +0000
+++ b/src/w32term.c     2013-12-16 09:58:44 +0000
@@ -6679,7 +6679,7 @@
 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);


reply via email to

[Prev in Thread] Current Thread [Next in Thread]