26 lines
671 B
EmacsLisp
26 lines
671 B
EmacsLisp
;;; module-org-denote.el --- denote extensions for org-mode
|
|
;;;
|
|
;;; Commentary:
|
|
;;;
|
|
;;; Add denote-specific extensions to org-mode.
|
|
;;;
|
|
;;; Code:
|
|
|
|
(require 'module-org)
|
|
|
|
(with-eval-after-load 'denote
|
|
(defvar denote-org-capture-specifiers)
|
|
(setq denote-org-capture-specifiers "%l\n%i\n%?")
|
|
(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 'module-org-denote)
|
|
|
|
;;; module-org-denote.el ends here.
|