On Sat, Mar 16 2024, Leo Butler wrote: > On Fri, Mar 15 2024, Ihor Radchenko wrote: > >> Leo Butler writes: >> >>>> Leo, may you improve the patch to avoid defining >>>> `org-beamer-frame-environment' when it is not used in all the frames? >>> >>> "all the" should be "any of" in that last sentence. >> >> Indeed. >> >>> How about the attached patch? >>> ... >>> +(defvar org-beamer--frame-environment-used nil >>> + "Nil unless `org-beamer-frame-environment' is used. >>> +See `org-beamer--frame-environment'.") >> >> I'd prefer to keep this information in the INFO channel. >> It will be more consistent. Apologies, I messed up the patch in the previous email. Attached is a patch that compiles cleanly and uses INFO. Leo