From e4bc5645ce4f3c5dbcd2aa16dd06c2c636f4ce53 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Wed, 29 Oct 2014 11:57:42 +0100 Subject: [PATCH] Fix 8daf4a8 * lisp/org.el (org-format-latex): Fix regexp. --- lisp/org.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/org.el b/lisp/org.el index 46728d22a..1e7d8d98b 100755 --- a/lisp/org.el +++ b/lisp/org.el @@ -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)) -- 2.11.4.GIT