diff options
author | Alan Pearce | 2014-06-26 09:21:20 +0100 |
---|---|---|
committer | Alan Pearce | 2014-06-26 09:21:20 +0100 |
commit | 5e2fa4e77e3f6af0707336b3f0b7e72f7d2c9335 (patch) | |
tree | eaed034aa0450a80a8a6babb29b1fc38c4bf01bc /tag-emacs | |
parent | e2f91f42974029f7d6f08b78573c0ab5079fb484 (diff) | |
download | dotfiles-5e2fa4e77e3f6af0707336b3f0b7e72f7d2c9335.tar.lz dotfiles-5e2fa4e77e3f6af0707336b3f0b7e72f7d2c9335.tar.zst dotfiles-5e2fa4e77e3f6af0707336b3f0b7e72f7d2c9335.zip |
Emacs: fix relative paths with subfolder-projects
Diffstat (limited to 'tag-emacs')
-rw-r--r-- | tag-emacs/emacs.d/init.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el index ca684a5..3166878 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) |