From 7c9ba3975c777e85ea8822043afa21ce9f18df0a 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 files changed, 1 insertions(+), 1 deletions(-) diff --git a/lisp/org-latex.el b/lisp/org-latex.el index 694f65b..8266e9e 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)) -- 1.7.2.5