]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/window.el (display-buffer--special-action): Use a closure.
authorStefan Monnier <monnier@iro.umontreal.ca>
Fri, 7 Jul 2017 20:58:30 +0000 (16:58 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Fri, 7 Jul 2017 20:58:30 +0000 (16:58 -0400)
lisp/window.el

index 43e9e99595339aa1798793696fdded5de5c3c2ad..2b979f46636c78ff328976dd6b3ed9e5d2ab3963 100644 (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.