aboutsummaryrefslogtreecommitdiffstats
path: root/oni-org/oni-org.el
diff options
context:
space:
mode:
authorGravatar Tom Willemse2022-10-26 23:35:48 -0700
committerGravatar Tom Willemse2022-10-26 23:35:48 -0700
commit601935c856756c3c8acb8816a3832e952ddc7391 (patch)
tree42d3543fb189226853017300c980761aa579e372 /oni-org/oni-org.el
parent7342368178da952926bbffe65470ea547960af14 (diff)
downloademacs-config-601935c856756c3c8acb8816a3832e952ddc7391.tar.gz
emacs-config-601935c856756c3c8acb8816a3832e952ddc7391.zip
[oni-org] Fix exclusion of ‘journal.org’
Diffstat (limited to 'oni-org/oni-org.el')
-rw-r--r--oni-org/oni-org.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/oni-org/oni-org.el b/oni-org/oni-org.el
index fc1f1f0..f5c883a 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: 2022.1025.230035
+;; Version: 2022.1026.162123
;; Package-Requires: (oni-yasnippet oni-alert oni-hydra org org-contrib org-bullets org-edna diminish all-the-icons olivetti form-feed)
;; This program is free software; you can redistribute it and/or modify
@@ -477,7 +477,7 @@ also move point to the start of the heading."
(defun oni-org-update-all-dblocks-live ()
"Call ‘org-update-all-dblocks’ if the current file isn't an archive file."
(if (not (or (string-suffix-p "_archive" (buffer-file-name))
- (string= "journal.org" (buffer-file-name))))
+ (string= "journal.org" (file-name-nondirectory (buffer-file-name)))))
(org-update-all-dblocks)))
(setq org-todo-keywords