Explorar o código

Fix macro bug in docbook exporter

Carsten Dominik %!s(int64=16) %!d(string=hai) anos
pai
achega
529ff7f2c0
Modificáronse 1 ficheiros con 4 adicións e 3 borrados
  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