emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Patch for org-beamer.el: mark frames containing \lstinline as fragile
@ 2011-12-18 17:20 Christoph LANGE
  2011-12-20 22:08 ` Bastien
  0 siblings, 1 reply; 2+ messages in thread
From: Christoph LANGE @ 2011-12-18 17:20 UTC (permalink / raw)
  To: Orgmode Mailing List

[-- Attachment #1: Type: text/plain, Size: 259 bytes --]

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

[-- Attachment #2: org-beamer-fragile.patch --]
[-- Type: text/x-patch, Size: 624 bytes --]

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)

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: Patch for org-beamer.el: mark frames containing \lstinline as fragile
  2011-12-18 17:20 Patch for org-beamer.el: mark frames containing \lstinline as fragile Christoph LANGE
@ 2011-12-20 22:08 ` Bastien
  0 siblings, 0 replies; 2+ messages in thread
From: Bastien @ 2011-12-20 22:08 UTC (permalink / raw)
  To: Christoph LANGE; +Cc: Orgmode Mailing List

Hi Christoph,

Christoph LANGE <ch.lange@jacobs-university.de> writes:

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

Applied, thanks!

-- 
 Bastien

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-12-20 22:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-12-18 17:20 Patch for org-beamer.el: mark frames containing \lstinline as fragile Christoph LANGE
2011-12-20 22:08 ` Bastien

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).