Morgan Smith <[email protected]> writes: > In the org-mode code base we do clearly care about compile-time vs > runtime as can be seen by this odd and round about way of defining this > regex: > > #+begin_src elisp > (defconst org-element-planning-line-re > (rx-to-string > `(seq line-start (0+ (any ?\s ?\t)) > (group (regexp ,org-element-planning-keywords-re)))) > "Regexp matching a planning line.") > #+end_src
Err. This one was to cater rx in old Emacs not being able to reference variables, AFAIR. -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>
