org-e-latex: Fix code typo
* contrib/lisp/org-e-latex.el (org-e-latex--text-markup): Fix code typo.
This commit is contained in:
parent
64cdd8879b
commit
1d0f8b2611
|
@ -841,7 +841,7 @@ See `org-e-latex-text-markup-alist' for details."
|
||||||
(while (string-match "[\\{}$%&_#~^]" text)
|
(while (string-match "[\\{}$%&_#~^]" text)
|
||||||
(setq char (match-string 0 text))
|
(setq char (match-string 0 text))
|
||||||
(if (> (match-beginning 0) 0)
|
(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 text (substring text (1+ (match-beginning 0))))
|
||||||
(setq char (or (cdr (assoc char trans)) (concat "\\" char))
|
(setq char (or (cdr (assoc char trans)) (concat "\\" char))
|
||||||
rtn (concat rtn char)))
|
rtn (concat rtn char)))
|
||||||
|
|
Loading…
Reference in New Issue