* lisp/org.el (org-format-latex): Fix regexp.
This commit is contained in:
Nicolas Goaziou 2014-10-29 11:57:42 +01:00
parent 8daf4a89f1
commit e4bc5645ce
1 changed files with 1 additions and 1 deletions

View File

@ -18691,7 +18691,7 @@ Some of the options can be changed using the variable
`org-format-latex-options'."
(when (and overlays (fboundp 'clear-image-cache)) (clear-image-cache))
(unless (eq processing-type 'verbatim)
(let* ((math-regexp "\\$\\|\\\\[(]]\\|^[ \t]*\\\\begin{[A-Za-z0-9*]+}")
(let* ((math-regexp "\\$\\|\\\\[([]\\|^[ \t]*\\\\begin{[A-Za-z0-9*]+}")
(cnt 0)
checkdir-flag)
(goto-char (point-min))