Dear org-mode developers,

please find attached a patch for org-beamer.el that also recognizes \lstinline and \verb as commands that make a frame fragile.

Cheers, and thanks,

Christoph

--
Christoph Lange, http://www.facebook.com/ch.lange, Skype duke4701
diff --git a/lisp/org-beamer.el b/lisp/org-beamer.el
index 118aa75..d64ce2d 100644
--- a/lisp/org-beamer.el
+++ b/lisp/org-beamer.el
@@ -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)

Reply via email to