From dda11ab03201380170d0477d1c39c5fd85b6d9e4 Mon Sep 17 00:00:00 2001 From: Kiana Sheibani Date: Thu, 13 Jun 2024 15:19:13 -0400 Subject: [PATCH] Fix org-category advice The code broke because an org-element internal function was refactored. Hopefully this isn't a sign of things to come... --- config.org | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.org b/config.org index f489a41..2a05adf 100644 --- a/config.org +++ b/config.org @@ -3595,7 +3595,7 @@ To fix this issue, it is thankfully rather simple to patch Org-mode's category s (defadvice! ~/org-default-category (old-fn) "Modify how Org resolves the default category through the `org-category' variable." - :around '(org-refresh-category-properties org-element--get-category) + :around '(org-refresh-category-properties org-element-org-data-parser) (let ((org-category (or org-category (org-get-title)))) (funcall old-fn))) #+end_src