aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes
diff options
context:
space:
mode:
authorDmitry Gutov2020-06-22 16:48:43 +0300
committerDmitry Gutov2020-06-22 16:48:43 +0300
commit2be719827fec097267e4dfcb88877022b9f2e6cd (patch)
treed1f35893463e8521733ab3a90be191552e911000 /lisp/progmodes
parent8ef84632c24192a71cec89a859b064925ed5aca2 (diff)
downloademacs-2be719827fec097267e4dfcb88877022b9f2e6cd.tar.gz
emacs-2be719827fec097267e4dfcb88877022b9f2e6cd.zip
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).
Diffstat (limited to 'lisp/progmodes')
-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."
819 "Switch to buffer: " 819 "Switch to buffer: "
820 (when (funcall predicate (cons other-name other-buffer)) 820 (when (funcall predicate (cons other-name other-buffer))
821 other-name) 821 other-name)
822 t 822 nil
823 predicate)))) 823 predicate))))
824 824
825(defcustom project-kill-buffers-skip-conditions 825(defcustom project-kill-buffers-skip-conditions