Add ~/Documents to my/project-find-common-projects
Update docstring accordingly
This commit is contained in:
parent
7ef4f678b9
commit
b1dc6b0930
4
init.el
4
init.el
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue