[Emacs] Use org-project-capture instead of org-projectile directly
This commit is contained in:
parent
d2954404dd
commit
8fd6b94a77
@ -3598,18 +3598,15 @@ alphanumeric characters only."
|
|||||||
#+end_src
|
#+end_src
|
||||||
**** org-projectile
|
**** org-projectile
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(use-package org-projectile
|
(use-package org-project-capture
|
||||||
:straight (org-projectile :type git :flavor melpa
|
|
||||||
:files ("org-projectile.el" "org-project-capture.el"
|
|
||||||
"org-projectile-pkg.el" "org-project-capture-backend.el")
|
|
||||||
:branch "org-project-capture"
|
|
||||||
:host github
|
|
||||||
:repo "colonelpanic8/org-project-capture")
|
|
||||||
:bind ("C-c n p" . org-project-capture-project-todo-completing-read)
|
:bind ("C-c n p" . org-project-capture-project-todo-completing-read)
|
||||||
:config
|
:config
|
||||||
(progn
|
(progn
|
||||||
(setq org-project-capture-default-backend
|
(use-package org-projectile
|
||||||
(make-instance 'org-project-capture-projectile-backend))
|
:demand t
|
||||||
|
:config
|
||||||
|
(setq org-project-capture-default-backend
|
||||||
|
(make-instance 'org-project-capture-projectile-backend)))
|
||||||
(setq org-project-capture-projects-file
|
(setq org-project-capture-projects-file
|
||||||
(imalison:join-paths imalison:org-dir "projects.org")
|
(imalison:join-paths imalison:org-dir "projects.org")
|
||||||
org-project-capture-capture-template
|
org-project-capture-capture-template
|
||||||
|
Loading…
Reference in New Issue
Block a user