Pārlūkot izejas kodu

Fixed bug with timestamp increment during S-RET copy in tables.

Carsten Dominik 16 gadi atpakaļ
vecāks
revīzija
7d30bd5c47
2 mainītis faili ar 4 papildinājumiem un 1 dzēšanām
  1. 3 0
      lisp/ChangeLog
  2. 1 1
      lisp/org-table.el

+ 3 - 0
lisp/ChangeLog

@@ -1,5 +1,8 @@
 2008-10-22  Carsten Dominik  <dominik@science.uva.nl>
 
+	* org-table.el (org-table-copy-down): Fix bug with time stamp
+	increment.
+
 	* org-mouse.el (org-mouse-features): New option.
 	(org-mode-hook): Turn on features depending on
 	`org-mouse-features'.

+ 1 - 1
lisp/org-table.el

@@ -894,7 +894,7 @@ in order to easily repeat the interval."
 	  (insert txt)
 	  (org-move-to-column col)
 	  (if (and org-table-copy-increment (org-at-timestamp-p t))
-	      (org-timestamp-up 1)
+	      (org-timestamp-up-day)
 	    (org-table-maybe-recalculate-line))
 	  (org-table-align)
 	  (org-move-to-column col))