Hi Michael, Michael Gauland <mikely...@no8wireless.co.nz> writes:
> org-escape-code-in-region produces an 'Invalid search bound (wrong side > of point)' error when exporting a block that produces an empty wrapped > block. For example: > > #+BEGIN_SRC emacs-lisp :wrap fundamental :exports both > (setq x nil) > #+END_SRC > > I'm exporting an empty block because I want the side effect of executing > the block. I have a large number of other blocks that produce non-empty > results, and I'm using a global :wrap setting for those. > > Any suggestions on solving this would be appreciated. I confirm this bug. I cc Eric so that he can have a look (I did have a look but the fix is not straightforward and I'm less familiar with this part of the code than Eric.) Thanks for reporting this, -- Bastien