Emacs: fix relative paths with subfolder-projects
Alan Pearce alan@alanpearce.co.uk
Thu, 26 Jun 2014 09:21:20 +0100
1 files changed, 1 insertions(+), 1 deletions(-)
jump to
M tag-emacs/emacs.d/init.el → tag-emacs/emacs.d/init.el
@@ -682,7 +682,7 @@ projectile-project-root-files-functions)) (-filter #'file-directory-p (directory-files dir t "\\<"))))) (defun ap/-add-known-subfolder-projects (dir) - (-map #'projectile-add-known-project (ap/subfolder-projects dir))) + (-map #'projectile-add-known-project (--map (concat (file-name-as-directory dir) it) (ap/subfolder-projects dir)))) (defun ap/add-known-subfolder-projects () (interactive)