浏览代码

org-export: Fix macro expansion error

* contrib/lisp/org-export.el (org-export-expand-macro): Fix code typo.
Nicolas Goaziou 13 年之前
父节点
当前提交
57cfa6aa9b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      contrib/lisp/org-export.el

+ 1 - 1
contrib/lisp/org-export.el

@@ -3036,7 +3036,7 @@ INFO is a plist holding export options."
 	 ;; User's macros are stored in the communication channel with
 	 ;; a ":macro-" prefix.
 	 (value (org-export-data
-		 (plist-get info (intern (format ":macro-%s" key))) val info)))
+		 (plist-get info (intern (format ":macro-%s" key))) info)))
     ;; Replace arguments in VALUE.
     (let ((s 0) n)
       (while (string-match "\\$\\([0-9]+\\)" value s)