Hi Eric Eric Schulte writes: >>> >>> Footnotes: [1] ,---- >>> | org-test-with-temp-text is a Lisp macro in `org-test.el'. >>> | >>> | (org-test-with-temp-text TEXT &rest BODY) >>> | >>> | Run body in a temporary buffer with Org-mode as the active >>> | mode holding TEXT. If the string "" appears in TEXT >>> | then remove it and place the point there before running BODY. >>> `---- >> >> This looks useful, however I hit problems when refactoring my tests to >> use it. Would it be easy for your macro to accept string variables in >> addition to strings? >> > > Hmm, that is weird. I've just pushed up a fix so this should now be > solved. > > Thanks for the catch -- Eric Thanks, that works great. I've updated test-ob.el to use the macro and include a patch. Best, Martyn