Fix wrong-type-arg arrayp error on doom/help search commands
The org crawler assumed that no headings were empty, which led to errors when they were.
This commit is contained in:
parent
87fe822515
commit
0c3ffbbb25
1 changed files with 2 additions and 1 deletions
|
@ -135,7 +135,8 @@ selection of all minor-modes, active or not."
|
|||
(list (or (+org-get-global-property "TITLE")
|
||||
(file-relative-name (buffer-file-name)))))
|
||||
path
|
||||
(list (replace-regexp-in-string org-link-any-re "\\4" text)))
|
||||
(when text
|
||||
(list (replace-regexp-in-string org-link-any-re "\\4" text))))
|
||||
" > ")
|
||||
tags)
|
||||
" ")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue