0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-08-24 14:02:51 +00:00

Fix use of minted with beamer export

* lisp/org-beamer.el: Mark frame as fragile when it is using minted
for src block export.
This commit is contained in:
Dan Davison 2011-02-14 10:59:51 +00:00
parent 7a108e1fc6
commit ef4c6c8785

View file

@ -399,7 +399,7 @@ the value will be inserted right after the documentclass statement."
(insert org-beamer-header-extra) (insert org-beamer-header-extra)
(or (bolp) (insert "\n")))))) (or (bolp) (insert "\n"))))))
(defcustom org-beamer-fragile-re "^[ \t]*\\\\begin{\\(verbatim\\|lstlisting\\)}" (defcustom org-beamer-fragile-re "^[ \t]*\\\\begin{\\(verbatim\\|lstlisting\\|minted\\)}"
"If this regexp matches in a frame, the frame is marked as fragile." "If this regexp matches in a frame, the frame is marked as fragile."
:group 'org-beamer :group 'org-beamer
:type 'regexp) :type 'regexp)