forked from mirrors/org-mode
org.el (org-deadline, org-schedule): Fix bug
* org.el (org-deadline, org-schedule): Fix bug: allow to update scheduled/deadline information anywhere in the subtree.
This commit is contained in:
parent
60db8b535b
commit
6a577a2b5a
|
@ -12960,6 +12960,7 @@ can either be an Org date like \"2011-07-24\" or a delta like \"+2d\"."
|
||||||
(message "Item no longer has a deadline."))
|
(message "Item no longer has a deadline."))
|
||||||
((equal arg '(16))
|
((equal arg '(16))
|
||||||
(save-excursion
|
(save-excursion
|
||||||
|
(org-back-to-heading t)
|
||||||
(if (re-search-forward
|
(if (re-search-forward
|
||||||
org-deadline-time-regexp
|
org-deadline-time-regexp
|
||||||
(save-excursion (outline-next-heading) (point)) t)
|
(save-excursion (outline-next-heading) (point)) t)
|
||||||
|
@ -13030,6 +13031,7 @@ either be an Org date like \"2011-07-24\" or a delta like \"+2d\"."
|
||||||
(message "Item is no longer scheduled.")))
|
(message "Item is no longer scheduled.")))
|
||||||
((equal arg '(16))
|
((equal arg '(16))
|
||||||
(save-excursion
|
(save-excursion
|
||||||
|
(org-back-to-heading t)
|
||||||
(if (re-search-forward
|
(if (re-search-forward
|
||||||
org-scheduled-time-regexp
|
org-scheduled-time-regexp
|
||||||
(save-excursion (outline-next-heading) (point)) t)
|
(save-excursion (outline-next-heading) (point)) t)
|
||||||
|
|
Loading…
Reference in a new issue