|
@@ -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)
|