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
1 changed files with 1 additions and 1 deletions

View File

@ -399,7 +399,7 @@ the value will be inserted right after the documentclass statement."
(insert org-beamer-header-extra)
(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."
:group 'org-beamer
:type 'regexp)