summaryrefslogtreecommitdiffstats
path: root/emacs/.emacs.d/site-lisp
diff options
context:
space:
mode:
authorGravatar Tom Willemse2016-06-07 01:20:22 +0200
committerGravatar Tom Willemse2016-06-07 01:20:22 +0200
commit8555351598b39d0a67c48c6cbeabcaae6d21bd89 (patch)
treeec4ace4e29d5f65563d843fb66b40d7b48a5e886 /emacs/.emacs.d/site-lisp
parenta89c7128ce58bff1017985172ac7ae1f1f215ec2 (diff)
downloaddotfiles-8555351598b39d0a67c48c6cbeabcaae6d21bd89.tar.gz
dotfiles-8555351598b39d0a67c48c6cbeabcaae6d21bd89.zip
Store org feed templates in seperate files
Diffstat (limited to 'emacs/.emacs.d/site-lisp')
-rw-r--r--emacs/.emacs.d/site-lisp/org-init.el22
1 files changed, 4 insertions, 18 deletions
diff --git a/emacs/.emacs.d/site-lisp/org-init.el b/emacs/.emacs.d/site-lisp/org-init.el
index 8a42e8d..0e23c48 100644
--- a/emacs/.emacs.d/site-lisp/org-init.el
+++ b/emacs/.emacs.d/site-lisp/org-init.el
@@ -215,30 +215,16 @@ predecessor if there is a non-DONE sibling defined before it."
oni:org-scuttle-feed-username
oni:org-scuttle-feed-password)
"~/documents/org/tasks" "Inbox"
- :template "
-* TODO %h :bookmark:
- %U
- %description
- %a
-")
+ :template ,(oni:read-org-template "lookat-bookmarks"))
("Linux voice podcast"
"http://www.linuxvoice.com/podcast_ogg.rss"
"~/documents/org/podcast.org" "Linux Voice"
- :template "
-* LISTEN %h
- SCHEDULED: %T
- %description
- %a
-")
+ :template ,(oni:read-org-template "podcast"))
("Open Metalcast"
"http://feeds.feedburner.com/openmetalcast/ogg"
"~/documents/org/podcast.org" "Open Metalcast"
- :template "
-* LISTEN %h
- SCHEDULED: %T
- %description
- %a
-")))
+ :template ,(oni:read-org-template "podcast"))))
+
(setq org-fontify-done-headline t)
(setq org-hide-emphasis-markers t)
(setq org-outline-path-complete-in-steps t)