From 5e2fa4e77e3f6af0707336b3f0b7e72f7d2c9335 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Thu, 26 Jun 2014 09:21:20 +0100 Subject: Emacs: fix relative paths with subfolder-projects --- tag-emacs/emacs.d/init.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tag-emacs') diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el index ca684a5f..3166878d 100644 --- a/tag-emacs/emacs.d/init.el +++ b/tag-emacs/emacs.d/init.el @@ -682,7 +682,7 @@ (-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) -- cgit 1.4.1