From: Dmitry Gutov Date: Mon, 22 Jun 2020 13:48:43 +0000 (+0300) Subject: project-switch-to-buffer: Do not require matching input X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~16^2~6335 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=2be719827fec097267e4dfcb88877022b9f2e6cd;p=emacs.git project-switch-to-buffer: Do not require matching input * lisp/progmodes/project.el (project-switch-to-buffer): Do not require matching input, to allow creating buffers as well (bug#41879). --- diff --git a/lisp/progmodes/project.el b/lisp/progmodes/project.el index 604882af8a5..60abf54b2bb 100644 --- a/lisp/progmodes/project.el +++ b/lisp/progmodes/project.el @@ -819,7 +819,7 @@ is inside the directory hierarchy of the project's root." "Switch to buffer: " (when (funcall predicate (cons other-name other-buffer)) other-name) - t + nil predicate)))) (defcustom project-kill-buffers-skip-conditions