diff options
| author | 2021-03-25 19:37:48 -0700 | |
|---|---|---|
| committer | 2021-03-25 19:37:48 -0700 | |
| commit | 0e0f464a6573287831558a7a2372be314f21a81f (patch) | |
| tree | 230fd57f977c2cc26592f1b58b78b03483b2e99a /oni-org | |
| parent | 0d5b6fcc11769747c31d325ab31fbf181ab5ef8b (diff) | |
| download | emacs-config-0e0f464a6573287831558a7a2372be314f21a81f.tar.gz emacs-config-0e0f464a6573287831558a7a2372be314f21a81f.zip | |
For the journal capture template, only include task if clocked in
Diffstat (limited to 'oni-org')
| -rw-r--r-- | oni-org/capture-templates/journal.org | 4 | ||||
| -rw-r--r-- | oni-org/oni-org.el | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/oni-org/capture-templates/journal.org b/oni-org/capture-templates/journal.org index 1711305..3d0f142 100644 --- a/oni-org/capture-templates/journal.org +++ b/oni-org/capture-templates/journal.org @@ -1,5 +1,3 @@ * %<%H:%M:%S> -- task (clocked in) :: %K - -%? +%(if (org-clock-is-active) "- task (clocked in) :: %K\n\n" "")%? diff --git a/oni-org/oni-org.el b/oni-org/oni-org.el index 65f2ca6..cfaaf67 100644 --- a/oni-org/oni-org.el +++ b/oni-org/oni-org.el @@ -4,7 +4,7 @@ ;; Author: Tom Willemse <tom@ryuslash.org> ;; Keywords: local -;; Version: 2021.0324.103342 +;; Version: 2021.0325.193551 ;; Package-Requires: (oni-yasnippet oni-alert oni-hydra org-plus-contrib org-bullets org-edna diminish all-the-icons org-journal org-roam) ;; This program is free software; you can redistribute it and/or modify |
