Tidy: Habit preamble
No need for rx-to-string, because it's static.
This commit is contained in:
parent
84b458d6fe
commit
fbff8720b0
1 changed files with 1 additions and 3 deletions
|
|
@ -676,9 +676,7 @@ replace the clause with a preamble."
|
||||||
;; Return nil, don't test the predicate.
|
;; Return nil, don't test the predicate.
|
||||||
nil)
|
nil)
|
||||||
(`(habit)
|
(`(habit)
|
||||||
;; TODO: Move regexp to const.
|
(setq org-ql-preamble (rx bol (0+ space) ":STYLE:" (1+ space) "habit" (0+ space) eol))
|
||||||
(setq org-ql-preamble (rx-to-string `(seq bol (0+ space) ":STYLE:" (1+ space)
|
|
||||||
"habit" (0+ space) eol)))
|
|
||||||
nil)
|
nil)
|
||||||
|
|
||||||
;; Heading text.
|
;; Heading text.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue