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...
This commit is contained in:
parent
eaea77467c
commit
dda11ab032
|
@ -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)
|
(defadvice! ~/org-default-category (old-fn)
|
||||||
"Modify how Org resolves the default category through the
|
"Modify how Org resolves the default category through the
|
||||||
`org-category' variable."
|
`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))))
|
(let ((org-category (or org-category (org-get-title))))
|
||||||
(funcall old-fn)))
|
(funcall old-fn)))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
Loading…
Reference in a new issue