1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-27 07:37:33 +00:00

* lisp/window.el (display-buffer--special-action): Use a closure.

This commit is contained in:
Stefan Monnier 2017-07-07 16:58:30 -04:00
parent c24748ada0
commit 21ecda1045

View File

@ -7192,9 +7192,9 @@ See `display-buffer' for the format of display actions."
(let ((pars (special-display-p (buffer-name buffer))))
(when pars
(list (list #'display-buffer-reuse-window
`(lambda (buffer _alist)
(funcall special-display-function
buffer ',(if (listp pars) pars)))))))))
(lambda (buffer _alist)
(funcall special-display-function
buffer (if (listp pars) pars)))))))))
(defun display-buffer-pop-up-frame (buffer alist)
"Display BUFFER in a new frame.