[oni-org] Fix exclusion of ‘journal.org’
This commit is contained in:
parent
7342368178
commit
601935c856
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue