org-agenda: Fix temporary delays

* lisp/org-agenda.el (org-agenda-get-scheduled): Ignore "--Xd" delays
  after first repeat.

Reported-by: hhkg@protonmail.com
<http://lists.gnu.org/r/emacs-orgmode/2018-03/msg00481.html>
This commit is contained in:
Nicolas Goaziou 2018-03-26 23:22:38 +02:00
parent 8cf787cbad
commit 842a5ba6d3
1 changed files with 1 additions and 1 deletions

View File

@ -6176,7 +6176,7 @@ scheduled items with an hour specification like [h]h:mm."
;; Nullify delay when a repeater triggered already
;; and the delay is of the form --Xd.
((and (string-match-p "--[0-9]+[hdwmy]" s)
(> current schedule))
(> schedule (org-agenda--timestamp-to-absolute s)))
0)
(suppress-delay
(let ((org-scheduled-delay-days suppress-delay))