Leo Butler <[email protected]> writes:
>>> 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.
Thanks!
> + (frame (let ((selection
> + (or (and fragilep
> + (or (string-search "\\begin{frame}" contents)
> + (string-search "\\end{frame}" contents))
Please use `string-match-p'. `string-search' is not available in Emacs
27, which we still support.
> + org-beamer-frame-environment)
> + "frame")))
> + (unless (string= selection "frame")
> + (setq info (plist-put info :define-frame t)))
Let's use "beamer" prefix to indicate that this plist entry is
beamer backend-specific. Something like :beamer-define-frame.
--
Ihor Radchenko // yantar92,
Org mode contributor,
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>