From b637e261c459d14949b14c6c216e60613881cc9c Mon Sep 17 00:00:00 2001 From: Carsten Dominik Date: Wed, 1 Jun 2011 08:30:01 +0200 Subject: [PATCH] Save match data when checking for table.el table * lisp/org-latex.el (org-export-latex-special-chars): Save match data when checking for table.el table. --- lisp/org-latex.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/org-latex.el b/lisp/org-latex.el index 764a48d79..7e60f8cb6 100644 --- a/lisp/org-latex.el +++ b/lisp/org-latex.el @@ -1628,7 +1628,7 @@ See the `org-export-latex.el' code for a complete conversion table." (while (re-search-forward c nil t) ;; Put the point where to check for org-protected (unless (or (get-text-property (match-beginning 2) 'org-protected) - (org-at-table.el-p)) + (save-match-data (org-at-table.el-p))) (cond ((member (match-string 2) '("\\$" "$")) (if (equal (match-string 2) "\\$") nil -- 2.11.4.GIT