org-beamer.el: Also recognize \lstinline and \verb as commands that make a frame fragile.
* org-beamer.el (org-beamer-fragile-re): Also recognize \lstinline and \verb as commands that make a frame fragile. Thanks to Christoph LANGE for this patch.
This commit is contained in:
parent
e6ab3158e1
commit
0c6722d79a
|
@ -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\\|minted\\)}"
|
||||
(defcustom org-beamer-fragile-re "\\\\\\(verb\\|lstinline\\)\\|^[ \t]*\\\\begin{\\(verbatim\\|lstlisting\\|minted\\)}"
|
||||
"If this regexp matches in a frame, the frame is marked as fragile."
|
||||
:group 'org-beamer
|
||||
:type 'regexp)
|
||||
|
|
Loading…
Reference in New Issue