summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2018-03-26 23:22:38 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2018-03-26 23:22:38 +0200
commit842a5ba6d3fa3f746bebc33bc2a5c8258e3fd125 (patch)
treeaf6fb1c32362c03661d4b56ae4d150d88ec1a90a
parent8cf787cbad5db927f37fb00ec1d1833395cc4d84 (diff)
downloadorg-mode-842a5ba6d3fa3f746bebc33bc2a5c8258e3fd125.tar.gz
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>
-rw-r--r--lisp/org-agenda.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el
index 34a897e..5bbf5e3 100644
--- a/lisp/org-agenda.el
+++ b/lisp/org-agenda.el
@@ -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))