0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-07-16 10:16:26 +00:00

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.
This commit is contained in:
Carsten Dominik 2011-06-01 08:30:01 +02:00
parent 1beda3d3c8
commit b637e261c4

View file

@ -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