all repos — nixfiles @ 5e2fa4e77e3f6af0707336b3f0b7e72f7d2c9335

System and user configuration, managed by nix and home-manager

Emacs: fix relative paths with subfolder-projects

Alan Pearce
commit

5e2fa4e77e3f6af0707336b3f0b7e72f7d2c9335

parent

e2f91f42974029f7d6f08b78573c0ab5079fb484

1 file changed, 1 insertion(+), 1 deletion(-)

jump to
M tag-emacs/emacs.d/init.eltag-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)