summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Gutov <dgutov@yandex.ru>2020-06-22 16:48:43 +0300
committerDmitry Gutov <dgutov@yandex.ru>2020-06-22 16:48:43 +0300
commit2be719827fec097267e4dfcb88877022b9f2e6cd (patch)
treed1f35893463e8521733ab3a90be191552e911000
parent8ef84632c24192a71cec89a859b064925ed5aca2 (diff)
downloademacs-2be719827fec097267e4dfcb88877022b9f2e6cd.tar.gz
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).
-rw-r--r--lisp/progmodes/project.el2
1 files changed, 1 insertions, 1 deletions
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