my/project-find-common-projects only search ~/Projects

This commit is contained in:
Evie Litherland-Smith 2024-05-21 17:40:58 +01:00
parent 92a9257560
commit 4e2067bab5

View file

@ -949,14 +949,11 @@
(defun my/project-find-common-projects () (defun my/project-find-common-projects ()
"Search and remember common project directories. "Search and remember common project directories.
Calls `project-remember-project-under' for ~/.config/, Calls `project-remember-project-under' for ~/Projects/"
~/Projects/, and ~/Documents/"
(interactive) (interactive)
(require 'project) (require 'project)
(project-forget-zombie-projects) (project-forget-zombie-projects)
(dolist (dolist (dir '("~/Projects/"))
(dir
'("~/.config/" "~/Projects/"))
(project-remember-projects-under dir t)) (project-remember-projects-under dir t))
)) ))