Update how my/project-find-common-projects works

Hopefully have fixed freezing bug now, seemed to be due to recursive
searching in certain directories...
This commit is contained in:
Evie Litherland-Smith 2024-06-13 07:49:55 +01:00
parent 67e603baf4
commit 03f7def969

View file

@ -964,8 +964,10 @@ Calls `project-remember-projects-under' for ~/Projects/"
(interactive)
(require 'project)
(project-forget-zombie-projects)
(dolist (dir '("~/Projects/"))
(project-remember-projects-under dir t))
(project-remember-projects-under user-emacs-directory nil)
(project-remember-projects-under "/etc/nixos/" nil)
(project-remember-projects-under "~/.config/home-manager/" nil)
(project-remember-projects-under "~/Projects" t)
))
(use-package magit