Fix behavior of org-timestamp-change for explicit number of day changes
commit80bcadf605c3adba2fc83e0b53da7bd9551c4f4a
authorCarsten Dominik <carsten.dominik@gmail.com>
Tue, 22 Jun 2010 14:14:55 +0000 (22 16:14 +0200)
committerCarsten Dominik <carsten.dominik@gmail.com>
Tue, 22 Jun 2010 14:14:55 +0000 (22 16:14 +0200)
treee968a17a9d73ca3cd12e1692b0c840e8855e0441
parent80531d8d7162a0117ab3d607ce30c27df1d7d102
Fix behavior of org-timestamp-change for explicit number of day changes

* lisp/org.el (org-timestamp-change): New optional argument UPDOWN.
Use this to identify calls from org-timestamp-up/down, so that we can
skip by rounding minutes in this case.
(org-timestamp-up):
(org-timestamp-down):
(org-timestamp-up-day):
(org-timestamp-down-day): Call org-timestamp-change with the
updown argument.

This function used to look only if there was a prefix argument in the
current interactive call.  Now we have an explicit marker indicating
that the function is called from the updown commands.
lisp/org.el