[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [PATCH] org-clone-subtree-with-time-shift: Accept 0 clones
From: |
Nicolas Goaziou |
Subject: |
Re: [O] [PATCH] org-clone-subtree-with-time-shift: Accept 0 clones |
Date: |
Mon, 22 Jun 2015 10:12:59 +0200 |
Hello,
Kyle Meyer <address@hidden> writes:
> From 37a917e4f7e4d2c05355735ab08f1f555b9dc942 Mon Sep 17 00:00:00 2001
> From: Kyle Meyer <address@hidden>
> Date: Sun, 21 Jun 2015 21:46:54 -0400
> Subject: [PATCH] org-clone-subtree-with-time-shift: Accept 0 clones
Thank you for the patch.
> - (if (not (and (integerp n) (> n 0)))
> + (if (not (and (integerp n) (>= n 0)))
> (user-error "Invalid number of replications %s" n))
Nitpick: (unless (wholenump n) (user-error ...))
Otherwise, looks good.
Regards,
--
Nicolas Goaziou