Fix `org-schedule' with repeater
commit7d52a8c3cc86c8ce03eda006752af1ab4bed4316
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Wed, 25 Jan 2017 22:27:33 +0000 (25 23:27 +0100)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Wed, 25 Jan 2017 22:27:33 +0000 (25 23:27 +0100)
treea0f28b20a165fcde212cd0ff9995dff2ebaad928
parentb6b1e35f33093f45df1e8973d90889a53b03d53b
Fix `org-schedule' with repeater

* lisp/org.el (org--deadline-or-schedule): New function.
(org-schedule):
(org-deadline): Use new function.

* testing/lisp/test-org.el (test-org/deadline):
(test-org/schedule): New tests.

Reported-by: Michael Welle <mwe012008@gmx.net>
<http://permalink.gmane.org/gmane.emacs.orgmode/111569>
lisp/org.el
testing/lisp/test-org.el