From 21ecda1045f45ba8468a6d1d4519527a18797f27 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Fri, 7 Jul 2017 16:58:30 -0400 Subject: [PATCH] * lisp/window.el (display-buffer--special-action): Use a closure. --- lisp/window.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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. -- 2.39.5