<[email protected]> writes: > this happens when matching on folded drawers within multiple org headings. > > The error > > Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil) > ... > How to replicate: > > 1. Save this into an org file and reopen: > > 2. Run M-x replace-regexp RET :drawer: > > .* > > :end: > > (C-q C-j forĀ > > /newline)
Oops. Sorry, forgot to confirm. This was Emacs bug, which I reported. The bug has been fixed on Emacs master. See https://debbugs.gnu.org/cgi/bugreport.cgi?bug=79115 Fixed. -- Ihor Radchenko // yantar92, Org mode maintainer, 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>
