emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] Changes to emacs/lisp/window.el,v


From: Stefan Monnier
Subject: [Emacs-diffs] Changes to emacs/lisp/window.el,v
Date: Mon, 17 Nov 2008 04:54:00 +0000

CVSROOT:        /sources/emacs
Module name:    emacs
Changes by:     Stefan Monnier <monnier>        08/11/17 04:53:59

Index: window.el
===================================================================
RCS file: /sources/emacs/emacs/lisp/window.el,v
retrieving revision 1.165
retrieving revision 1.166
diff -u -b -r1.165 -r1.166
--- window.el   15 Nov 2008 08:54:12 -0000      1.165
+++ window.el   17 Nov 2008 04:53:59 -0000      1.166
@@ -869,9 +869,10 @@
       ;; `frame-root-window' may be an internal window which is considered
       ;; "dead" by `window-live-p'.  Hence if `window' is not live we
       ;; implicitly know that `frame' has a visible window we can use.
-      (when (or (not (window-live-p window))
-               (and (not (window-minibuffer-p window))
-                    (not (window-dedicated-p window))))
+      (unless (and (window-live-p window)
+                   (or (window-minibuffer-p window)
+                       ;; If the window is soft-dedicated, the frame is usable.
+                       (eq t (window-dedicated-p window))))
        frame))))
 
 (defcustom even-window-heights t




reply via email to

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