summary refs log tree commit diff stats
path: root/tag-emacs
diff options
context:
space:
mode:
authorAlan Pearce2014-06-26 09:21:20 +0100
committerAlan Pearce2014-06-26 09:21:20 +0100
commit5e2fa4e77e3f6af0707336b3f0b7e72f7d2c9335 (patch)
treeeaed034aa0450a80a8a6babb29b1fc38c4bf01bc /tag-emacs
parente2f91f42974029f7d6f08b78573c0ab5079fb484 (diff)
downloadnixfiles-5e2fa4e77e3f6af0707336b3f0b7e72f7d2c9335.tar.lz
nixfiles-5e2fa4e77e3f6af0707336b3f0b7e72f7d2c9335.tar.zst
nixfiles-5e2fa4e77e3f6af0707336b3f0b7e72f7d2c9335.zip
Emacs: fix relative paths with subfolder-projects
Diffstat (limited to 'tag-emacs')
-rw-r--r--tag-emacs/emacs.d/init.el2
1 files changed, 1 insertions, 1 deletions
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)