summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2014-07-04 22:36:37 +0100
committerAlan Pearce2014-07-04 22:37:33 +0100
commit864f5981c34cddd73fdbf6162be0a813b9c81cf6 (patch)
tree96eb98f1767ae70e08ac4f6b4bb41e7bc0ef3066
parentbdeabfbb3bb204b641e38c9ce59e7bfa6374945d (diff)
downloaddotfiles-864f5981c34cddd73fdbf6162be0a813b9c81cf6.tar.lz
dotfiles-864f5981c34cddd73fdbf6162be0a813b9c81cf6.tar.zst
dotfiles-864f5981c34cddd73fdbf6162be0a813b9c81cf6.zip
Emacs: Make open-subfolder-project require match
-rw-r--r--tag-emacs/emacs.d/init.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el
index 041f553..02b238e 100644
--- a/tag-emacs/emacs.d/init.el
+++ b/tag-emacs/emacs.d/init.el
@@ -656,7 +656,8 @@
 
             (defun ap/open-subfolder-project (from-dir &optional arg)
               (let ((project-dir (helm-comp-read "Open project: "
-                                                 (ap/subfolder-projects from-dir))))
+                                                 (ap/subfolder-projects from-dir)
+                                                 :must-match t)))
                 (projectile-switch-project-by-name (expand-file-name project-dir from-dir) arg)))
 
             (defun ap/open-work-project (&optional arg)