From 655f62dbbb7bacd88984ab2d206f3426e1cd2f18 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Mon, 7 Oct 2013 12:25:18 +0200 Subject: [PATCH] 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. --- lisp/ox-beamer.el | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/lisp/ox-beamer.el b/lisp/ox-beamer.el index f1dbe8255..74d99edce 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 -- 2.11.4.GIT