"Mark A. Hershberger" <m...@everybody.org> writes: > Loading the following file with "emacs -Q", I'm un-able to type 'C-c > C-c' in the source block to execute it. > > #+begin_src elisp > (defun count-lines (dir) > ... > When I do the following error appears: > > ⛔ Warning (org-element-cache): org-element--cache: Org parser error in > tmp.org::4740. Resetting. > The error was: (wrong-number-of-arguments (lambda (dir)
Canceled. You are re-defining a built-in Elisp function `count-lines'. This function is used by Org parser. That's why you are getting an error. Re-defining built-in functions is generally dangerous. You need to know what you are doing. -- 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>