]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix argument reference
authorDmitry Gutov <dgutov@yandex.ru>
Mon, 27 Jul 2020 00:05:16 +0000 (03:05 +0300)
committerDmitry Gutov <dgutov@yandex.ru>
Mon, 27 Jul 2020 00:05:16 +0000 (03:05 +0300)
* lisp/progmodes/project.el
(project-display-buffer-other-frame): Fix argument reference.

lisp/progmodes/project.el

index 27974b28f10617b1e64c01eb1d0a22dbc96f6f8f..da4a589c21a40ef6c0e03b1dda5be15bff67ad24 100644 (file)
@@ -999,7 +999,7 @@ This function uses `display-buffer-other-frame' as a subroutine,
 which see for how it is determined where the buffer will be
 displayed."
   (interactive (list (project--read-project-buffer)))
-  (display-buffer-other-frame buffer))
+  (display-buffer-other-frame buffer-or-name))
 
 (defcustom project-kill-buffers-ignores
   '("\\*Help\\*")