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 ()
|
(defun my/project-find-common-projects ()
|
||||||
"Search and remember common project directories.
|
"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)
|
(interactive)
|
||||||
(require 'project)
|
(require 'project)
|
||||||
(project-forget-zombie-projects)
|
(project-forget-zombie-projects)
|
||||||
(project-remember-projects-under user-emacs-directory nil)
|
(project-remember-projects-under user-emacs-directory nil)
|
||||||
(project-remember-projects-under "/etc/nixos/" nil)
|
(project-remember-projects-under "/etc/nixos/" nil)
|
||||||
(project-remember-projects-under "~/Projects/" t)
|
(project-remember-projects-under "~/Projects/" t)
|
||||||
|
(project-remember-projects-under "~/Documents/" t)
|
||||||
))
|
))
|
||||||
|
|
||||||
(use-package magit
|
(use-package magit
|
||||||
|
|
Loading…
Reference in a new issue