+2008-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * window.el (window--frame-usable-p): Allow use for soft-dedication.
+
2008-11-17 Juanma Barranquero <lekktu@gmail.com>
* emulation/viper-cmd.el (viper-harness-minor-mode): Fix docstring typo.
`isearch-filter-invisible'. Doc fix.
(isearch-filter-invisible): Rename from
`isearch-success-function-default'. Doc fix.
- (isearch-search, isearch-lazy-highlight-search): Rename
- `isearch-success-function' to `isearch-filter-predicate'.
+ (isearch-search, isearch-lazy-highlight-search):
+ Rename `isearch-success-function' to `isearch-filter-predicate'.
* dired-aux.el (dired-isearch-filter-predicate-orig): Rename from
`dired-isearch-orig-success-function'.
(dired-isearch-filter-filenames): Rename from
`dired-isearch-success-function'.
- * info.el (Info-search, Info-mode): Rename
- `isearch-success-function' to `isearch-filter-predicate'.
+ * info.el (Info-search, Info-mode):
+ Rename `isearch-success-function' to `isearch-filter-predicate'.
(Info-isearch-filter-predicate): Rename from
`Info-search-success-function'.
;; `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