summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <n.goaziou@gmail.com>2013-10-07 12:25:18 +0200
committerNicolas Goaziou <n.goaziou@gmail.com>2013-10-07 16:58:25 +0200
commit655f62dbbb7bacd88984ab2d206f3426e1cd2f18 (patch)
treec4e5628b861b7a440df6f34e92f1148eb999ae4e
parent58b157956c732c2909ca9dc6574b6718ad5c4735 (diff)
downloadorg-mode-655f62dbbb7bacd88984ab2d206f3426e1cd2f18.tar.gz
ox-beamer: Fix b67ff6073c09b3f5c3878152d42efe34fcf0fd6e
* lisp/ox-beamer.el (org-beamer--format-section): Fix regression introduced in b67ff6073c09b3f5c3878152d42efe34fcf0fd6e, which would prevent frames from being propely exported.
-rw-r--r--lisp/ox-beamer.el9
1 files changed, 5 insertions, 4 deletions
diff --git a/lisp/ox-beamer.el b/lisp/ox-beamer.el
index f1dbe82..74d99ed 100644
--- a/lisp/ox-beamer.el
+++ b/lisp/ox-beamer.el
@@ -445,8 +445,7 @@ INFO is a plist used as a communication channel."
CONTENTS holds the contents of the headline. INFO is a plist
used as a communication channel."
(let ((latex-headline
- (org-export-data-with-backend
- headline
+ (org-export-with-backend
;; We create a temporary export back-end which behaves the
;; same as current one, but adds "\protect" in front of the
;; output of some objects.
@@ -461,8 +460,10 @@ used as a communication channel."
(if (org-string-nw-p code) (concat "\\protect" code)
code))))))
(mapcar #'(lambda (type) (cons type protected-output))
- '(bold footnote-reference italic strike-through
- timestamp underline))))
+ '(bold footnote-reference italic strike-through timestamp
+ underline))))
+ headline
+ contents
info))
(mode-specs (org-element-property :BEAMER_ACT headline)))
(if (and mode-specs