浏览代码

Subtree cloning: Also modify inactive timestamps

Carsten Dominik 16 年之前
父节点
当前提交
57c12e8bef
共有 2 个文件被更改,包括 4 次插入1 次删除
  1. 3 0
      lisp/ChangeLog
  2. 1 1
      lisp/org.el

+ 3 - 0
lisp/ChangeLog

@@ -1,5 +1,8 @@
 2009-06-18  Carsten Dominik  <carsten.dominik@gmail.com>
 
+	* org.el (org-clone-subtree-with-time-shift): Also shift inactive
+	time stamps.
+
 	* org-html.el (org-export-table-row-tags): New option.
 	(org-format-org-table-html): Rename `nlines' to `nline', use new
 	option.

+ 1 - 1
lisp/org.el

@@ -6235,7 +6235,7 @@ and still retain the repeater to cover future instances of the task."
 	      (insert template)
 	      (org-mode)
 	      (goto-char (point-min))
-	      (while (re-search-forward org-ts-regexp nil t)
+	      (while (re-search-forward org-ts-regexp-both nil t)
 		(org-timestamp-change (* n shift-n) shift-what))
 	      (unless (= n n-no-remove)
 		(goto-char (point-min))