From: Stefan Monnier Date: Fri, 7 Jul 2017 20:58:30 +0000 (-0400) Subject: * lisp/window.el (display-buffer--special-action): Use a closure. X-Git-Tag: emacs-26.0.90~518^2~162 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=21ecda1045f45ba8468a6d1d4519527a18797f27;p=emacs.git * lisp/window.el (display-buffer--special-action): Use a closure. --- diff --git a/lisp/window.el b/lisp/window.el index 43e9e995953..2b979f46636 100644 --- a/lisp/window.el +++ b/lisp/window.el @@ -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.