summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Dominik <carsten.dominik@gmail.com>2010-07-20 17:44:54 +0200
committerCarsten Dominik <carsten.dominik@gmail.com>2010-07-20 17:44:54 +0200
commit6aa469b116cb19fc37b6df381b841ef3369b5479 (patch)
tree83c3ba5f608ead9c0acb14e25854f857b94d6335
parent8d0735b89e4391a23c5525b6eaa84ddc073eef57 (diff)
downloadorg-mode-6aa469b116cb19fc37b6df381b841ef3369b5479.tar.gz
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.
-rw-r--r--lisp/org-exp.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org-exp.el b/lisp/org-exp.el
index 392566a..9c6fdf4 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 "")