diff options
author | Bastien Guerry <bzg@altern.org> | 2011-07-22 09:24:28 +0200 |
---|---|---|
committer | Bastien Guerry <bzg@altern.org> | 2011-07-22 09:24:28 +0200 |
commit | bd01d9bf839e07f6412be2ecda73ba6f25d01fdc (patch) | |
tree | 1833bda44e0c7f030c2f01511cab6a7c125ad217 | |
parent | 6b38912771d3a8c1fb79dc17e5ed97fe13900c9b (diff) | |
download | org-mode-bd01d9bf839e07f6412be2ecda73ba6f25d01fdc.tar.gz |
Revert "Fix bug with TODO states changes modifying scheduling of next headline"
This reverts commit fd0f8e10d1d3a339da9460d6c71283e85897c455.
-rw-r--r-- | lisp/org.el | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/org.el b/lisp/org.el index ad803f6..117a4d3 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -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) |