[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/org a149fdd 3/3: org-agenda-get-scheduled: Fix deadline
From: |
ELPA Syncer |
Subject: |
[elpa] externals/org a149fdd 3/3: org-agenda-get-scheduled: Fix deadline value when using cache |
Date: |
Thu, 21 Oct 2021 04:57:30 -0400 (EDT) |
branch: externals/org
commit a149fdd5699b9279846fb11184529f8cf47b36b5
Author: Ihor Radchenko <yantar92@gmail.com>
Commit: Ihor Radchenko <yantar92@gmail.com>
org-agenda-get-scheduled: Fix deadline value when using cache
* lisp/org-agenda.el (org-agenda-get-scheduled): First `deadline'
let-binding when element cache is enabled should not be timestamp
element, but a string. Make it so.
Reprted in https://list.orgmode.org/87tuhazs36.fsf@localhost/T/#t
---
lisp/org-agenda.el | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el
index 2b7e298..30b7343 100644
--- a/lisp/org-agenda.el
+++ b/lisp/org-agenda.el
@@ -6449,7 +6449,9 @@ scheduled items with an hour specification like [h]h:mm."
(string= "habit" (org-element-property
:STYLE el))))
(suppress-delay
(let ((deadline (and
org-agenda-skip-scheduled-delay-if-deadline
- (org-element-property :deadline
el))))
+ (org-element-property
+ :raw-value
+ (org-element-property :deadline
el)))))
(cond
((not deadline) nil)
;; The current item has a deadline date, so