소스 검색

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.
Nicolas Goaziou 11 년 전
부모
커밋
655f62dbbb
1개의 변경된 파일5개의 추가작업 그리고 4개의 파일을 삭제
  1. 5 4
      lisp/ox-beamer.el

+ 5 - 4
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