From 1d0f8b26113475579f8c885c430c707d35d631b4 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Sat, 5 May 2012 20:09:02 +0200 Subject: [PATCH] org-e-latex: Fix code typo * contrib/lisp/org-e-latex.el (org-e-latex--text-markup): Fix code typo. --- contrib/lisp/org-e-latex.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/lisp/org-e-latex.el b/contrib/lisp/org-e-latex.el index 8f43a9956..e3cd7e51f 100644 --- a/contrib/lisp/org-e-latex.el +++ b/contrib/lisp/org-e-latex.el @@ -841,7 +841,7 @@ See `org-e-latex-text-markup-alist' for details." (while (string-match "[\\{}$%&_#~^]" text) (setq char (match-string 0 text)) (if (> (match-beginning 0) 0) - (setq rtn (concat rtn (substring value 0 (match-beginning 0))))) + (setq rtn (concat rtn (substring text 0 (match-beginning 0))))) (setq text (substring text (1+ (match-beginning 0)))) (setq char (or (cdr (assoc char trans)) (concat "\\" char)) rtn (concat rtn char)))