emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] emacs-24 r117202: In display-buffer-use-some-window don't


From: Martin Rudalics
Subject: [Emacs-diffs] emacs-24 r117202: In display-buffer-use-some-window don't shrink window used (Bug#17671).
Date: Tue, 03 Jun 2014 12:38:33 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 117202
revision-id: address@hidden
parent: address@hidden
committer: martin rudalics <address@hidden>
branch nick: emacs-24
timestamp: Tue 2014-06-03 14:38:17 +0200
message:
  In display-buffer-use-some-window don't shrink window used (Bug#17671).
  
  * window.el (display-buffer-use-some-window): Don't make window
  used smaller than it was before (Bug#17671).
modified:
  lisp/ChangeLog                 changelog-20091113204419-o5vbwnq5f7feedwu-1432
  lisp/window.el                 window.el-20091113204419-o5vbwnq5f7feedwu-94
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2014-06-03 09:50:04 +0000
+++ b/lisp/ChangeLog    2014-06-03 12:38:17 +0000
@@ -1,3 +1,8 @@
+2014-06-03  Martin Rudalics  <address@hidden>
+
+       * window.el (display-buffer-use-some-window): Don't make window
+       used smaller than it was before (Bug#17671).
+
 2014-06-03  Eli Zaretskii  <address@hidden>
 
        * menu-bar.el (menu-bar-open): Fix last change: use the PC

=== modified file 'lisp/window.el'
--- a/lisp/window.el    2014-05-25 10:06:35 +0000
+++ b/lisp/window.el    2014-06-03 12:38:17 +0000
@@ -6497,7 +6497,7 @@
       ;; resize it to its old height but don't signal an error.
       (when (and (listp quad)
                 (integerp (nth 3 quad))
-                (/= (nth 3 quad) (window-total-height window)))
+                (> (nth 3 quad) (window-total-height window)))
        (condition-case nil
            (window-resize window (- (nth 3 quad) (window-total-height window)))
          (error nil)))


reply via email to

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