From c4066dca8e6779abbf9fc3c4619f6e906ab1e68a Mon Sep 17 00:00:00 2001 From: David Maus Date: Sat, 2 Jul 2011 16:25:59 +0200 Subject: [PATCH] Use function argument instead of dynamically scoped symbol * org-latex.el (org-export-latex-preprocess): Use function argument instead of dynamically scoped symbol. Export options are passed to org-export-preprocess-string which passes them down to backend specific preprocessor. The :footnotes option is included. --- lisp/org-latex.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/org-latex.el b/lisp/org-latex.el index 694f65b67..8266e9eb3 100644 --- a/lisp/org-latex.el +++ b/lisp/org-latex.el @@ -2430,7 +2430,7 @@ The conversion is made depending of STRING-BEFORE and STRING-AFTER." (replace-match ""))) ;; When converting to LaTeX, replace footnotes. - (when (plist-get opt-plist :footnotes) + (when (plist-get parameters :footnotes) (goto-char (point-min)) (let (ref) (while (setq ref (org-footnote-get-next-reference)) -- 2.11.4.GIT