Add ~/Documents to my/project-find-common-projects

Update docstring accordingly
This commit is contained in:
Evie Litherland-Smith 2025-01-13 10:24:31 +00:00
parent 7ef4f678b9
commit b1dc6b0930

View file

@ -1101,13 +1101,15 @@
(defun my/project-find-common-projects ()
"Search and remember common project directories.
Calls `project-remember-projects-under' for ~/Projects/"
Calls `project-remember-projects-under' for `user-emacs-directory',
NixOS configuration directory, ~/Projects/ and ~/Documents/"
(interactive)
(require 'project)
(project-forget-zombie-projects)
(project-remember-projects-under user-emacs-directory nil)
(project-remember-projects-under "/etc/nixos/" nil)
(project-remember-projects-under "~/Projects/" t)
(project-remember-projects-under "~/Documents/" t)
))
(use-package magit