[Emacs] Use org-project-capture instead of org-projectile directly

This commit is contained in:
Ivan Malison 2023-08-16 13:27:05 -06:00
parent d2954404dd
commit 8fd6b94a77

View File

@ -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