org-beamer-fragile-re now notices lstlisting environments as well as verbatim
This commit is contained in:
parent
82d7585810
commit
826e34d55b
|
@ -386,7 +386,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}"
|
(defcustom org-beamer-fragile-re "^[ \t]*\\\\begin{\\(verbatim\\|lstlisting\\)}"
|
||||||
"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)
|
||||||
|
|
Loading…
Reference in New Issue