From 57cfa6aa9b0aa85e1b886e71edfc00bfadc650b7 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Sun, 20 May 2012 09:57:33 +0200 Subject: [PATCH] org-export: Fix macro expansion error * contrib/lisp/org-export.el (org-export-expand-macro): Fix code typo. --- contrib/lisp/org-export.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/lisp/org-export.el b/contrib/lisp/org-export.el index b9209a889..6023b3310 100644 --- a/contrib/lisp/org-export.el +++ b/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)