diff options
author | Carsten Dominik <[email protected]> | 2009-01-26 07:44:42 +0000 |
---|---|---|
committer | Carsten Dominik <[email protected]> | 2009-01-26 07:44:42 +0000 |
commit | 1e4f816aabe75c4c454f1312756f7613c84c6f88 (patch) | |
tree | a991e1841a2d7d7be848e3fcc7df4f6fa780742c /lisp/org/org-exp.el | |
parent | 8bff6137519b682e173c62b6bbdc31086f9dd074 (diff) |
2009-01-26 Carsten Dominik <[email protected]>
* org.el (org-yank): Tell `delete-selection-mode' about
`org-yank'.
* org-faces.el (org-clock-overlay): Fix face definition.
* org-export-latex.el (org-export-latex-first-lines): Pass
timestamp and footnote parameters to the preprocessor.
* org-exp.el (org-export-remove-timestamps): Do not remove time
stamps inside tables.
Diffstat (limited to 'lisp/org/org-exp.el')
-rw-r--r-- | lisp/org/org-exp.el | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/lisp/org/org-exp.el b/lisp/org/org-exp.el index 0a888746c8..14abae4050 100644 --- a/lisp/org/org-exp.el +++ b/lisp/org/org-exp.el @@ -1,6 +1,7 @@ ;;; org-exp.el --- ASCII, HTML, XOXO and iCalendar export for Org-mode -;; Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. +;; Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 +;; Free Software Foundation, Inc. ;; Author: Carsten Dominik <carsten at orgmode dot org> ;; Keywords: outlines, hypermedia, calendar, wp @@ -1863,10 +1864,11 @@ from the buffer." (while (re-search-forward org-maybe-keyword-time-regexp nil t) (backward-char 1) (org-if-unprotected - (replace-match "") - (beginning-of-line 1) - (if (looking-at "[- \t]*\\(=>[- \t0-9:]*\\)?[ \t]*\n") - (replace-match ""))))) + (unless (save-match-data (org-at-table-p)) + (replace-match "") + (beginning-of-line 1) + (if (looking-at "[- \t]*\\(=>[- \t0-9:]*\\)?[ \t]*\n") + (replace-match "")))))) (defun org-export-remove-clock-lines () "Remove timestamps and keywords for export." |