Fix: rx nil symbol in heading preamble
Use empty string instead of nil as fallback for "h:".
This commit is contained in:
parent
bacdacb1b2
commit
83cc00a27d
1 changed files with 1 additions and 1 deletions
|
|
@ -1410,7 +1410,7 @@ Matching is done case-insensitively."
|
||||||
;; Multiple strings: use preamble to match against first
|
;; Multiple strings: use preamble to match against first
|
||||||
;; string, then let the predicate match the rest.
|
;; string, then let the predicate match the rest.
|
||||||
(list :regexp (rx-to-string `(seq bol (1+ "*") (1+ blank) (0+ nonl)
|
(list :regexp (rx-to-string `(seq bol (1+ "*") (1+ blank) (0+ nonl)
|
||||||
,(car strings))
|
,(or (car strings) ""))
|
||||||
'no-group)
|
'no-group)
|
||||||
:case-fold t :query query)))
|
:case-fold t :query query)))
|
||||||
;; TODO: In Org 9.2+, `org-get-heading' takes 2 more arguments.
|
;; TODO: In Org 9.2+, `org-get-heading' takes 2 more arguments.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue