Fix the value of org-capture-templates

A `(quote)` call was missing, which resulted in an empty template list.
This commit is contained in:
Gergely Polonkai 2019-11-14 14:32:44 +01:00
parent 17ced28e3d
commit 9107b0f513
No known key found for this signature in database
GPG Key ID: 38F402C8471DDE93

View File

@ -2834,38 +2834,38 @@ This is a big one; I use a lot of customisation here.
(org-agenda-overriding-header "ALL normal priority tasks")))) (org-agenda-overriding-header "ALL normal priority tasks"))))
((org-agenda-compact-blocks t))))) ((org-agenda-compact-blocks t)))))
(org-log-note-clock-out t) (org-log-note-clock-out t)
(org-capture-templates (("L" "Org-protocol capture" entry (org-capture-templates '(("L" "Org-protocol capture" entry
(file+headline (file+headline
(lambda () (lambda ()
(expand-file-name "index.org" org-directory)) (expand-file-name "index.org" org-directory))
"Captures") "Captures")
"** %:description\n:PROPERTIES:\n:SOURCE: %:link\n:END:\n\n%:initial" "** %:description\n:PROPERTIES:\n:SOURCE: %:link\n:END:\n\n%:initial"
:empty-lines 1) :empty-lines 1)
("R" "Region to Current Clocked Task" plain ("R" "Region to Current Clocked Task" plain
(clock) (clock)
"%i" "%i"
:immediate-finish t :immediate-finish t
:empty-lines 1) :empty-lines 1)
("K" "Kill-ring to Current Clocked Task" plain ("K" "Kill-ring to Current Clocked Task" plain
(clock) (clock)
"%c" "%c"
:immediate-finish t :immediate-finish t
:empty-lines 1) :empty-lines 1)
("c" "Item to current Clocked Task" item ("c" "Item to current Clocked Task" item
(clock) (clock)
"%i%?" "%i%?"
:empty-lines 1) :empty-lines 1)
("g" "GT2 note" entry ("g" "GT2 note" entry
(file+headline (file+headline
(lambda () (lambda ()
(expand-file-name "gt2-notes.org" org-directory)) (expand-file-name "gt2-notes.org" org-directory))
"Captures") "Captures")
"** %^{Title}\n:PROPERTIES:\n:CREATED: %T\n:END:\n\n%a\n\n%i%?") "** %^{Title}\n:PROPERTIES:\n:CREATED: %T\n:END:\n\n%a\n\n%i%?")
("p" "Blog post" entry ("p" "Blog post" entry
(file+olp+datetree (file+olp+datetree
(lambda () (lambda ()
(expand-file-name "blog.org" org-directory))) (expand-file-name "blog.org" org-directory)))
"* %^{Title} :blog:\n:PROPERTIES:\n:CREATED: %T\n:END:\n\n%i%?"))) "* %^{Title} :blog:\n:PROPERTIES:\n:CREATED: %T\n:END:\n\n%i%?")))
:hook :hook
(ediff-select . f-ediff-org-unfold-tree-element) (ediff-select . f-ediff-org-unfold-tree-element)
(ediff-unselect . f-ediff-org-fold-tree) (ediff-unselect . f-ediff-org-fold-tree)