emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/denote 550428cabf 037/355: Add sample org-capture-templ


From: ELPA Syncer
Subject: [elpa] externals/denote 550428cabf 037/355: Add sample org-capture-templates to Commentary
Date: Sun, 26 Jun 2022 23:57:57 -0400 (EDT)

branch: externals/denote
commit 550428cabf3c57f2ea86507031c17d755b046e0c
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>

    Add sample org-capture-templates to Commentary
---
 denote-org-capture.el | 41 +++++++++++++++++++++--------------------
 1 file changed, 21 insertions(+), 20 deletions(-)

diff --git a/denote-org-capture.el b/denote-org-capture.el
index 25b81e4b57..182d01b55a 100644
--- a/denote-org-capture.el
+++ b/denote-org-capture.el
@@ -25,6 +25,27 @@
 ;;; Commentary:
 ;;
 ;; Denote integration with org-capture.
+;;
+;; Samples of an `org-capture-templates' entry:
+;;
+;; (setq org-capture-templates
+;;       '(("n" "New note (with denote.el)" plain
+;;          (file denote-last-path)
+;;          #'denote-org-capture
+;;          :no-save t
+;;          :immediate-finish nil
+;;          :kill-buffer t
+;;          :jump-to-captured t)))
+;;
+;; (with-eval-after-load 'org-capture
+;;   (add-to-list 'org-capture-templates
+;;                '("n" "New note (with denote.el)" plain
+;;                  (file denote-last-path)
+;;                  #'denote-org-capture
+;;                  :no-save t
+;;                  :immediate-finish nil
+;;                  :kill-buffer t
+;;                  :jump-to-captured t)))
 
 ;;; Code:
 
@@ -69,25 +90,5 @@ sample template.  We will eventually have a manual."
 
 (add-hook 'org-capture-after-finalize-hook 
#'denote-org-capture-delete-empty-file)
 
-;; Samples of an `org-capture-templates' entry:
-;;
-;; (setq org-capture-templates
-;;       '(("n" "New note (with denote.el)" plain
-;;          (file denote-last-path)
-;;          #'denote-org-capture
-;;          :no-save t
-;;          :immediate-finish nil
-;;          :kill-buffer t
-;;          :jump-to-captured t)))
-;;
-;; (with-eval-after-load 'org-capture
-;;   (add-to-list 'org-capture-templates
-;;                '("n" "New note (with denote.el)" plain
-;;                  (file denote-last-path)
-;;                  #'denote-org-capture
-;;                  :no-save t
-;;                  :immediate-finish nil
-;;                  :kill-buffer t
-;;                  :jump-to-captured t)))
 (provide 'denote-org-capture)
 ;;; denote-org-capture.el ends here



reply via email to

[Prev in Thread] Current Thread [Next in Thread]