Explorar o código

org-e-latex: Fix code typo

* contrib/lisp/org-e-latex.el (org-e-latex--text-markup): Fix code typo.
Nicolas Goaziou %!s(int64=13) %!d(string=hai) anos
pai
achega
1d0f8b2611
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      contrib/lisp/org-e-latex.el

+ 1 - 1
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)))