From 2be719827fec097267e4dfcb88877022b9f2e6cd Mon Sep 17 00:00:00 2001 From: Dmitry Gutov Date: Mon, 22 Jun 2020 16:48:43 +0300 Subject: [PATCH] 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). --- lisp/progmodes/project.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5