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).
This commit is contained in:
Dmitry Gutov 2020-06-22 16:48:43 +03:00
parent 8ef84632c2
commit 2be719827f

View file

@ -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