Commit 064e57de authored by Stefan Monnier's avatar Stefan Monnier

(window--frame-usable-p): Consider dedicated windows as usable.

parent 35b05a77
2008-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
* window.el (window--frame-usable-p): Consider dedicated windows as usable.
* files.el (confirm-nonexistent-file-or-buffer):
Rename from find-file-confirm-nonexistent-file.
(read-buffer-to-switch): Use it.
......
......@@ -872,7 +872,12 @@ by `split-window' (or `split-window-preferred-function')."
(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))))
;; Actually, even if the window is really dedicated,
;; the frame is still usable by splitting it.
;; At least Emacs-22 allowed it, and it is desirable
;; when displaying same-frame windows.
nil ; (eq t (window-dedicated-p window))
))
frame))))
(defcustom even-window-heights t
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment