[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] org-habit: allow overriding org-scheduled-past-days and always i
From: |
John Lee |
Subject: |
Re: [O] org-habit: allow overriding org-scheduled-past-days and always including time of day |
Date: |
Sun, 03 Feb 2019 15:53:11 +0000 |
On Sun, 18 Nov 2018, at 23:40, Nicolas Goaziou wrote:
> * lisp/org-habit.el (org-habit-scheduled-past-days): New variable.
>
> > (when (or (and (> ddays 0) (< diff ddays))
> > - (> diff org-scheduled-past-days)
> > + (> diff (if habitp
> > + (or org-habit-scheduled-past-days
> > + org-scheduled-past-days)
> > + org-scheduled-past-days))
>
> Nitpick:
>
> (or (and habitp org-habit-scheduled-past-days)
> org-scheduled-past-days)
Oops, I just remembered that 0 is not "falsy" in elisp. So I'll make this
change after all and submit that first patch again, again...