From 601935c856756c3c8acb8816a3832e952ddc7391 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Wed, 26 Oct 2022 23:35:48 -0700 Subject: [PATCH] =?UTF-8?q?[oni-org]=20Fix=20exclusion=20of=20=E2=80=98jou?= =?UTF-8?q?rnal.org=E2=80=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- oni-org/oni-org.el | 4 ++-- 1 file 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 ;; 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