0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-08-22 11:48:38 +00:00

Revert "Fix bug with TODO states changes modifying scheduling of next headline"

This reverts commit fd0f8e10d1.
This commit is contained in:
Bastien Guerry 2011-07-22 09:24:28 +02:00
parent 6b38912771
commit bd01d9bf83

View file

@ -15563,7 +15563,7 @@ With prefix ARG, change that many days."
The date will be changed by N times WHAT. WHAT can be `day', `month',
`year', `minute', `second'. If WHAT is not given, the cursor position
in the timestamp determines what will be changed."
(let ((pos (copy-marker (point)))
(let ((pos (point))
with-hm inactive
(dm (max (nth 1 org-time-stamp-rounding-minutes) 1))
org-ts-what
@ -15627,7 +15627,6 @@ in the timestamp determines what will be changed."
(org-insert-time-stamp time with-hm inactive nil nil extra))
(org-clock-update-time-maybe)
(goto-char pos)
(move-marker pos nil)
;; Try to recenter the calendar window, if any
(if (and org-calendar-follow-timestamp-change
(get-buffer-window "*Calendar*" t)