emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[BUG] org-element loading fails with "regexp" argument not "stringp"


From: Justin
Subject: [BUG] org-element loading fails with "regexp" argument not "stringp"
Date: Tue, 4 Jul 2023 19:51:44 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0

Using emacs 26.1 (in case it matters).  Loading is failing at:

(defconst org-element--current-element-re
  (rx
   (or
    (group-n 1 (regexp org-element--latex-begin-environment-nogroup))

rx is a macro, and so org-element* is not being evaluated.  It's complaining that the argument to regexp is not a stringp.

Does the rx argument need a backquote?  org-element-clock-line-re uses rx-to-string with a backquote?

(rx `(or (group-n 1 (regexp ,org-element--...

-Justin




reply via email to

[Prev in Thread] Current Thread [Next in Thread]