Browse Source

Fix macro bug in docbook exporter

Carsten Dominik 16 years ago
parent
commit
529ff7f2c0
1 changed files with 4 additions and 3 deletions
  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