forked from mirrors/org-mode
Backport 7cc208af9
fix from main
This commit is contained in:
parent
e54c7e604b
commit
558db89e40
|
@ -6321,6 +6321,11 @@ specification like [h]h:mm."
|
||||||
(org-element-cache-map
|
(org-element-cache-map
|
||||||
(lambda (el)
|
(lambda (el)
|
||||||
(when (and (org-element-property :deadline el)
|
(when (and (org-element-property :deadline el)
|
||||||
|
;; Only consider active timestamp values.
|
||||||
|
(memq (org-element-property
|
||||||
|
:type
|
||||||
|
(org-element-property :deadline el))
|
||||||
|
'(diary active active-range))
|
||||||
(or (not with-hour)
|
(or (not with-hour)
|
||||||
(org-element-property
|
(org-element-property
|
||||||
:hour-start
|
:hour-start
|
||||||
|
@ -6662,6 +6667,11 @@ scheduled items with an hour specification like [h]h:mm."
|
||||||
(org-element-cache-map
|
(org-element-cache-map
|
||||||
(lambda (el)
|
(lambda (el)
|
||||||
(when (and (org-element-property :scheduled el)
|
(when (and (org-element-property :scheduled el)
|
||||||
|
;; Only consider active timestamp values.
|
||||||
|
(memq (org-element-property
|
||||||
|
:type
|
||||||
|
(org-element-property :scheduled el))
|
||||||
|
'(diary active active-range))
|
||||||
(or (not with-hour)
|
(or (not with-hour)
|
||||||
(org-element-property
|
(org-element-property
|
||||||
:hour-start
|
:hour-start
|
||||||
|
|
Loading…
Reference in New Issue