org-insert-time-stamp: fix value of org-last-inserted-timestamp
commitf08a5eaa06b8b090101d53cd8c239086b7b074e2
authorMatt Lundin <mdl@imapmail.org>
Sun, 25 Jul 2010 15:46:47 +0000 (25 15:46 +0000)
committerBastien Guerry <bzg@altern.org>
Sat, 31 Jul 2010 08:31:30 +0000 (31 10:31 +0200)
tree497d1983db59e24f396c8b50804a18dfc8bdb1b7
parentd3c82cc7574908cf399c65c185617500a7304c02
org-insert-time-stamp: fix value of org-last-inserted-timestamp

* lisp/org.el (org-insert-time-stamp): Fix org-insert-time-stamp so
  that the value of org-last-inserted-timestamp includes time range.

Previously, org-last-inserted-timestamp included only the
beginning of a time range (e.g., 10:00 instead of 10:00-12:00).
This caused parsing problems elsewhere, such as when rescheduling
items with repeating timestamps and a time range (the repeater
was removed during rescheduling).
lisp/org.el