summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Guerry <bzg@altern.org>2013-11-11 18:13:08 +0100
committerBastien Guerry <bzg@altern.org>2013-11-11 18:14:11 +0100
commit6a577a2b5aed5ea98f23b83965affe8888243ac8 (patch)
tree381ef1e51bb08d33ae133512e3b80325d7687043
parent60db8b535bd7b626222373b738dd17d81a84f224 (diff)
downloadorg-mode-0e947a402375008446df8787f931a6aa5d95eb6a.tar.gz
org.el (org-deadline, org-schedule): Fix bugrelease_8.2.3arelease_8.2.3
* org.el (org-deadline, org-schedule): Fix bug: allow to update scheduled/deadline information anywhere in the subtree.
-rw-r--r--lisp/org.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/org.el b/lisp/org.el
index b5eb285..4a74d44 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -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."))
((equal arg '(16))
(save-excursion
+ (org-back-to-heading t)
(if (re-search-forward
org-deadline-time-regexp
(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.")))
((equal arg '(16))
(save-excursion
+ (org-back-to-heading t)
(if (re-search-forward
org-scheduled-time-regexp
(save-excursion (outline-next-heading) (point)) t)