(window-state-get-1, window-state-get, window-state-put-list)
(window-state-put-1, window-state-put-2, window-state-put): New
functions.
+ (display-buffer-normalize-options): Move special-display-p group
+ after pop-up-frame group (Bug#8851) and (Bug#8856).
2011-06-18 Chong Yidong <cyd@stupidchicken.com>
(cons 'largest fun) (cons 'lru fun))
specifiers))))
- ;; `special-display-p' group.
- (when special-display-function
- ;; `special-display-p' returns either t or a list of frame
- ;; parameters to pass to `special-display-function'.
- (let ((pars (special-display-p buffer-name)))
- (when pars
- (setq specifiers
- (cons (list 'fun-with-args special-display-function
- (when (listp pars) pars))
- specifiers)))))
-
;; `pop-up-frame' group. Add things if `pop-up-frames' is non-nil
;; (we ignore the problem that callers usually don't care about
;; graphic-only).
(setq specifiers
(cons (list 'pop-up-frame pop-up-frames) specifiers)))
+ ;; `special-display-p' group.
+ (when special-display-function
+ ;; `special-display-p' returns either t or a list of frame
+ ;; parameters to pass to `special-display-function'.
+ (let ((pars (special-display-p buffer-name)))
+ (when pars
+ (setq specifiers
+ (cons (list 'fun-with-args special-display-function
+ (when (listp pars) pars))
+ specifiers)))))
+
;; `same-window-p' group.
(when (same-window-p buffer-name)
;; Try to reuse the same (selected) window.