From 6aa469b116cb19fc37b6df381b841ef3369b5479 Mon Sep 17 00:00:00 2001 From: Carsten Dominik Date: Tue, 20 Jul 2010 17:44:54 +0200 Subject: [PATCH] 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. --- lisp/org-exp.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/org-exp.el b/lisp/org-exp.el index 392566aa9..9c6fdf4ce 100644 --- a/lisp/org-exp.el +++ b/lisp/org-exp.el @@ -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 "")