From 864f5981c34cddd73fdbf6162be0a813b9c81cf6 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 4 Jul 2014 22:36:37 +0100 Subject: Emacs: Make open-subfolder-project require match --- tag-emacs/emacs.d/init.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tag-emacs') 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) -- cgit 1.4.1