org-clone-subtree-with-time-shift: Accept 0 clones
commit329683861cc85aa1d02861c82f7db3317073c563
authorKyle Meyer <kyle@kyleam.com>
Mon, 22 Jun 2015 01:46:54 +0000 (21 21:46 -0400)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Mon, 22 Jun 2015 19:49:52 +0000 (22 21:49 +0200)
treedebcfbdfc707799c54165aace92591ea32d2a6a4
parent739853d128d7583103ae1d8f31e1be9f9669be04
org-clone-subtree-with-time-shift: Accept 0 clones

* lisp/org.el (org-clone-subtree-with-time-shift): Allow argument
  specifying number of clones to be 0.

* testing/lisp/test-org.el (test-org/clone-with-time-shift): Add
  tests.

This makes it possible to clone a subtree with a repeating timestamp
so that the repeater is removed from the original subtree and a single
shifted, repeating clone is created.  If the original subtree does not
have a repeating timestamp, no clones will be made.
etc/ORG-NEWS
lisp/org.el
testing/lisp/test-org.el