1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-11-25 07:27:57 +00:00

org-export: Fix macro expansion error

* contrib/lisp/org-export.el (org-export-expand-macro): Fix code typo.
This commit is contained in:
Nicolas Goaziou 2012-05-20 09:57:33 +02:00
parent 7b33d9f56b
commit 57cfa6aa9b

View File

@ -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)