diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2017-09-13 13:03:11 +0200 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2017-09-13 14:17:00 +0200 |
commit | 23c4716a94f1ee70b2417b6123ef023699b6f54b (patch) | |
tree | 41279076a397842a7c3f987cce6e2c75b91d678d | |
parent | 95271315cc539f94b0cc25f5183fdcef284f295a (diff) | |
download | org-mode-23c4716a94f1ee70b2417b6123ef023699b6f54b.tar.gz |
org-table: Fix `org-table-copy-down' with timestamps
* lisp/org-table.el (org-table-copy-down): Allow matching inactive
timestamps.
Reported-by: Alan Schmitt <alan.schmitt@polytechnique.org>
<http://lists.gnu.org/archive/html/emacs-orgmode/2017-09/msg00304.html>
-rw-r--r-- | lisp/org-table.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org-table.el b/lisp/org-table.el index 90401e5..185dfd8 100644 --- a/lisp/org-table.el +++ b/lisp/org-table.el @@ -1184,7 +1184,7 @@ to a number. In the case of a timestamp, increment by days." (setq txt (calc-eval (concat txt "+" (number-to-string inc))))) (insert txt) (org-move-to-column col) - (if (and org-table-copy-increment (org-at-timestamp-p)) + (if (and org-table-copy-increment (org-at-timestamp-p 'lax)) (org-timestamp-up-day inc) (org-table-maybe-recalculate-line)) (org-table-align) |