Commit e75852fd authored by Martin Rudalics's avatar Martin Rudalics
Browse files

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).
parent 1682701f
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> 2012-06-09 Eli Zaretskii <eliz@gnu.org>
   
* makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649) * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
......
...@@ -4263,11 +4263,13 @@ and (cdr ARGS) as second." ...@@ -4263,11 +4263,13 @@ and (cdr ARGS) as second."
special-display-buffer-names special-display-regexps) special-display-buffer-names special-display-regexps)
(display-buffer buffer))) (display-buffer buffer)))
;; If no window yet, make one in a new frame. ;; If no window yet, make one in a new frame.
(let ((frame (let* ((frame
(with-current-buffer buffer (with-current-buffer buffer
(make-frame (append args special-display-frame-alist))))) (make-frame (append args special-display-frame-alist))))
(window--display-buffer (window (frame-selected-window frame)))
buffer (frame-selected-window frame) 'frame t)))))) (display-buffer-record-window 'frame window buffer)
(set-window-dedicated-p window t)
window)))))
(defcustom special-display-function 'special-display-popup-frame (defcustom special-display-function 'special-display-popup-frame
"Function to call for displaying special buffers. "Function to call for displaying special buffers.
......
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