summaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorMartin Polden <mpolden@mpolden.no>2018-06-04 15:15:46 +0200
committerMartin Polden <mpolden@mpolden.no>2018-06-04 15:20:00 +0200
commit239a50b5e905d5fbcd1bec79cf4c92caad16e8d9 (patch)
tree2fea6ca00a1255c7d4c52dfc7f3030dc12bb1a89 /lisp
parent8be0d63cc615ad768546e800c427179ea76deefc (diff)
Fix work template
org-capture-template no longer accepts S-expression as file names in Org mode 9.1.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/init-org.el6
1 files changed, 2 insertions, 4 deletions
diff --git a/lisp/init-org.el b/lisp/init-org.el
index f5a24d4..8c5e4f0 100644
--- a/lisp/init-org.el
+++ b/lisp/init-org.el
@@ -27,10 +27,8 @@
;; capture template including title, date and time
(setq org-capture-templates '(("p" "Personal" entry (file+headline "" "Tasks")
"* TODO %?\n %T\n" :prepend t)
- ("w" "Work" entry (file+headline
- (expand-file-name
- "work.org" org-directory)
- "Tasks")
+ ("w" "Work" entry (file+headline "work.org"
+ "Tasks")
"* TODO %?\n %T\n" :prepend t)))
;; automatically mark archived entry as done