If you only have a repeating SCHEDULED item, allow using the
 interface to update DEADLINE; also vice-versa.  

 In other words, allow org-schedule or org-deadline to update normal
 timestamps in the existance of other types of repeating timestamps in
 the same heading.

-- 
Paul Holcomb                               *pholcomb    \@      cpoint  net*
GPG key fingerprint          2B62 05AE EE74 845A 705F  D716 28C4 FE1C 088F CFAC
 lisp/org.el |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/org.el b/lisp/org.el
index 9134e1d..640802a 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -10710,7 +10710,7 @@ scheduling will use the corresponding date."
                               org-log-redeadline))
          (org-remove-timestamp-with-keyword org-deadline-string)
          (message "Item no longer has a deadline."))
-      (if (org-get-repeat)
+      (if (org-get-repeat org-deadline-string)
          (error "Cannot change deadline on task with repeater, please do that 
by hand")
        (org-add-planning-info 'deadline time 'closed)
        (when (and old-date org-log-redeadline
@@ -10734,7 +10734,7 @@ scheduling will use the corresponding date."
                               org-log-reschedule))
          (org-remove-timestamp-with-keyword org-scheduled-string)
          (message "Item is no longer scheduled."))
-      (if (org-get-repeat)
+      (if (org-get-repeat org-scheduled-string)
          (error "Cannot reschedule task with repeater, please do that by hand")
        (org-add-planning-info 'scheduled time 'closed)
        (when (and old-date org-log-reschedule
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to