mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Fix #3578: wrong-type-arg error on empty org heading
Due to non-string in list while iterating over org heading breadcrumbs. Closes #3579
This commit is contained in:
@ -520,7 +520,7 @@ eldoc string."
|
|||||||
(funcall orig-fn
|
(funcall orig-fn
|
||||||
(cl-loop for part in path
|
(cl-loop for part in path
|
||||||
;; Remove full link syntax
|
;; Remove full link syntax
|
||||||
for fixedpart = (replace-regexp-in-string org-link-any-re "\\4" part)
|
for fixedpart = (replace-regexp-in-string org-link-any-re "\\4" (or part ""))
|
||||||
for n from 0
|
for n from 0
|
||||||
for face = (nth (% n org-n-level-faces) org-level-faces)
|
for face = (nth (% n org-n-level-faces) org-level-faces)
|
||||||
collect
|
collect
|
||||||
|
Reference in New Issue
Block a user