Преглед изворни кода

Fix macro bug in docbook exporter

Carsten Dominik пре 16 година
родитељ
комит
529ff7f2c0
1 измењених фајлова са 4 додато и 3 уклоњено
  1. 4 3
      lisp/org-docbook.el

+ 4 - 3
lisp/org-docbook.el

@@ -419,9 +419,10 @@ publishing directory."
 			     (+ (funcall outline-level)
 				(if org-odd-levels-only 1 0)))
 			 0))
-	 (opt-plist (if subtree-p
-			(org-export-add-subtree-options opt-plist rbeg)
-		      opt-plist))
+	 (opt-plist (setq org-export-opt-plist
+			  (if subtree-p
+			      (org-export-add-subtree-options opt-plist rbeg)
+			    opt-plist)))
 	 ;; The following two are dynamically scoped into other
 	 ;; routines below.
 	 (org-current-export-dir