0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-08-21 03:18:57 +00:00

Fix bug with exporting table metalines to LaTeX/PDF

* lisp/org-exp.el (org-export-handle-table-metalines): Choose a better
position for checking protectedness.
This commit is contained in:
Carsten Dominik 2010-07-20 17:44:54 +02:00
parent 8d0735b89e
commit 6aa469b116

View file

@ -1691,7 +1691,7 @@ When it is nil, all comments will be removed."
(while (or (looking-at re)
(re-search-forward re nil t))
(setq pos (match-beginning 0))
(if (get-text-property (point) 'org-protected)
(if (get-text-property (match-beginning 1) 'org-protected)
(goto-char (1+ pos))
(goto-char (1+ pos))
(replace-match "")