org-beamer-fragile-re now notices lstlisting environments as well as verbatim

This commit is contained in:
Eric Schulte 2010-02-25 21:18:55 -07:00
parent 82d7585810
commit 826e34d55b
1 changed files with 1 additions and 1 deletions

View File

@ -386,7 +386,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}"
(defcustom org-beamer-fragile-re "^[ \t]*\\\\begin{\\(verbatim\\|lstlisting\\)}"
"If this regexp matches in a frame, the frame is marked as fragile."
:group 'org-beamer
:type 'regexp)