mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-29 07:58:28 +00:00
In special-display-popup-frame don't use window--display-buffer (Bug#11651).
* window.el (special-display-popup-frame): Don't use window--display-buffer (Bug#11651).
This commit is contained in:
parent
1682701f25
commit
e75852fd3e
@ -1,3 +1,8 @@
|
||||
2012-06-09 Martin Rudalics <rudalics@gmx.at>
|
||||
|
||||
* window.el (special-display-popup-frame): Don't use
|
||||
window--display-buffer (Bug#11651).
|
||||
|
||||
2012-06-09 Eli Zaretskii <eliz@gnu.org>
|
||||
|
||||
* makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
|
||||
|
@ -4263,11 +4263,13 @@ and (cdr ARGS) as second."
|
||||
special-display-buffer-names special-display-regexps)
|
||||
(display-buffer buffer)))
|
||||
;; If no window yet, make one in a new frame.
|
||||
(let ((frame
|
||||
(with-current-buffer buffer
|
||||
(make-frame (append args special-display-frame-alist)))))
|
||||
(window--display-buffer
|
||||
buffer (frame-selected-window frame) 'frame t))))))
|
||||
(let* ((frame
|
||||
(with-current-buffer buffer
|
||||
(make-frame (append args special-display-frame-alist))))
|
||||
(window (frame-selected-window frame)))
|
||||
(display-buffer-record-window 'frame window buffer)
|
||||
(set-window-dedicated-p window t)
|
||||
window)))))
|
||||
|
||||
(defcustom special-display-function 'special-display-popup-frame
|
||||
"Function to call for displaying special buffers.
|
||||
|
Loading…
Reference in New Issue
Block a user