"Christopher M. Miles" <numbch...@gmail.com> writes: > I got following error: > > #+begin_example > Please report this to Org mode mailing list (M-x org-submit-bug-report). > ⛔ Warning (org-element-cache): org-element--cache: Org parser error in > Code.org::434180. Resetting. > The error was: (wrong-number-of-arguments ((t) nil "Return outline-regexp > with limited number of levels. > The number of levels is controlled by `org-inlinetask-min-level'." (cond > ((not (derived-mode-p 'org-mode)) outline-regexp) ((not (featurep > 'org-inlinetask)) org-outline-regexp) (t (let* ((limit-level (1- > org-inlinetask-min-level)) (nstars (if org-odd-levels-only (1- (* limit-level > 2)) limit-level))) (format "\\*\\{1,%d\\} " nstars))))) 1)
This complains about too many arguments (1) in `org-get-limited-outline-regexp'. On main, `org-get-limited-outline-regexp' can accept an optional argument, but it is not the case in the built-in Org mode. I suspect some problem with mixed installation. -- Ihor Radchenko // yantar92, Org mode contributor, 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>