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:
parent
523e945a3a
commit
2261bd5819
1 changed files with 1 additions and 1 deletions
|
@ -520,7 +520,7 @@ eldoc string."
|
|||
(funcall orig-fn
|
||||
(cl-loop for part in path
|
||||
;; 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 face = (nth (% n org-n-level-faces) org-level-faces)
|
||||
collect
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue