mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-26 07:11:34 -08:00
Don't let display-buffer pop up new frames by default (bug#8857).
* window.el (display-buffer-alist): Trim default value to avoid popping up a new frame (Bug#8857) or reusing an arbitrary window on another frame. (display-buffer): Do not fall back on popping up a new frame in batch mode (Bug#8857).
This commit is contained in:
parent
c195f2de12
commit
baa1c9abaa
2 changed files with 13 additions and 7 deletions
|
|
@ -1,3 +1,11 @@
|
||||||
|
2011-06-15 Martin Rudalics <rudalics@gmx.at>
|
||||||
|
|
||||||
|
* window.el (display-buffer-alist): Trim default value to avoid
|
||||||
|
popping up a new frame (Bug#8857) or reusing an arbitrary window
|
||||||
|
on another frame.
|
||||||
|
(display-buffer): Do not fall back on popping up a new frame in
|
||||||
|
batch mode (Bug#8857).
|
||||||
|
|
||||||
2011-06-14 Chong Yidong <cyd@stupidchicken.com>
|
2011-06-14 Chong Yidong <cyd@stupidchicken.com>
|
||||||
|
|
||||||
* cus-theme.el (describe-theme-1): Use custom-theme-p.
|
* cus-theme.el (describe-theme-1): Use custom-theme-p.
|
||||||
|
|
|
||||||
|
|
@ -3505,9 +3505,7 @@ buffer display specifiers.")
|
||||||
reuse-window (reuse-window nil same visible)
|
reuse-window (reuse-window nil same visible)
|
||||||
pop-up-window
|
pop-up-window
|
||||||
(pop-up-window (largest . nil) (lru . nil))
|
(pop-up-window (largest . nil) (lru . nil))
|
||||||
pop-up-frame
|
reuse-window (reuse-window other other nil)
|
||||||
(pop-up-frame)
|
|
||||||
reuse-window (reuse-window nil other visible)
|
|
||||||
(reuse-window-even-sizes . t)))
|
(reuse-window-even-sizes . t)))
|
||||||
"List associating buffer identifiers with display specifiers.
|
"List associating buffer identifiers with display specifiers.
|
||||||
The car of each element of this list is built from a set of cons
|
The car of each element of this list is built from a set of cons
|
||||||
|
|
@ -5303,12 +5301,12 @@ this list as arguments."
|
||||||
;; Try reusing a window not showing BUFFER on any visible or
|
;; Try reusing a window not showing BUFFER on any visible or
|
||||||
;; iconified frame.
|
;; iconified frame.
|
||||||
(display-buffer-reuse-window buffer '(nil other 0))
|
(display-buffer-reuse-window buffer '(nil other 0))
|
||||||
;; Try making a new frame.
|
;; Try making a new frame (but not in batch mode).
|
||||||
(display-buffer-pop-up-frame buffer)
|
(and (not noninteractive) (display-buffer-pop-up-frame buffer))
|
||||||
;; Try using weakly dedicated windows.
|
;; Try using a weakly dedicated window.
|
||||||
(display-buffer-reuse-window
|
(display-buffer-reuse-window
|
||||||
buffer '(nil nil t) '((reuse-window-dedicated . weak)))
|
buffer '(nil nil t) '((reuse-window-dedicated . weak)))
|
||||||
;; Try using strongly dedicated windows.
|
;; Try using a strongly dedicated window.
|
||||||
(display-buffer-reuse-window
|
(display-buffer-reuse-window
|
||||||
buffer '(nil nil t) '((reuse-window-dedicated . t)))))))
|
buffer '(nil nil t) '((reuse-window-dedicated . t)))))))
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue