Re: issue using org-export-before-parsing-hook in a src-block

2022-10-28 Thread Ihor Radchenko
John Kitchin writes: > If I run this block in an org file: > > #+BEGIN_SRC emacs-lisp > (let ((org-export-before-parsing-hook '((lambda (_backend) nil > (org-org-export-as-org)) > #+END_SRC > > I get a traceback that starts with > Debugger entered--Lisp error: (wrong-type-argument integer-o

Re: issue using org-export-before-parsing-hook in a src-block

2021-11-07 Thread John Kitchin
I should also add I see the same error if I just run #+BEGIN_SRC emacs-lisp (org-org-export-as-org) #+END_SRC and I see the same behavior with an emacs -q session. John --- Professor John Kitchin (he/him/his) Doherty Hall A207F Department of Chemical Engineering

issue using org-export-before-parsing-hook in a src-block

2021-11-07 Thread John Kitchin
If I run this block in an org file: #+BEGIN_SRC emacs-lisp (let ((org-export-before-parsing-hook '((lambda (_backend) nil (org-org-export-as-org)) #+END_SRC I get a traceback that starts with Debugger entered--Lisp error: (wrong-type-argument integer-or-marker-p nil) goto-char(nil) (if