Backport commit 123ddec from Emacs master branch
commit217ad4aafbf7daeb1045efac4a5c80a8f97d553a
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 29 Oct 2014 01:42:51 +0000 (28 18:42 -0700)
committerKyle Meyer <kyle@kyleam.com>
Mon, 27 Jul 2015 03:25:11 +0000 (26 23:25 -0400)
treecfb1474daab887779e6f315e9435fe1c89f0f672
parent2e1bc42db828d11a63354c3c57eed34b7f59921f
Backport commit 123ddec from Emacs master branch

* doc/org.texi (Dynamic blocks):
* lisp/org-archive.el (org-archive-subtree)
(org-archive-to-archive-sibling):
* lisp/org-clock.el (org-resolve-clocks, org-clock-get-sum-start)
(org-clock-special-range):
* lisp/org-timer.el (org-timer-seconds):
* lisp/org.el (org-read-date-analyze, org-get-cursor-date):
* lisp/ox-html.el (org-html-format-spec):
* lisp/ox-icalendar.el (org-icalendar--vtodo):
Omit unnecessary call to current-time.
* lisp/org.el (org-get-cursor-date):
Don't call current-time twice to get the current time stamp,
as this can lead to inconsistent results.
* lisp/org-compat.el (org-float-time):
Simplify to an alias because time-to-seconds now behaves like float-time
with respect to nil arg.
* lisp/org-clock.el (org-clock-get-table-data): Omit unnecessary, lossy
conversion from floating point to Emacs time and back.
(org-resolve-clocks): Prefer two-argument floor.

Simplify use of current-time and friends.
123ddec7f807f4bd7400bbbe08219afb02269c00
Paul Eggert
Tue Oct 28 18:42:51 2014 -0700
doc/org.texi
lisp/org-archive.el
lisp/org-clock.el
lisp/org-compat.el
lisp/org-timer.el
lisp/org.el
lisp/ox-html.el
lisp/ox-icalendar.el