1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-09 21:20:45 -08:00
emacs/lisp/vc
Paul Eggert 123ddec7f8 Simplify use of current-time and friends.
* doc/misc/org.texi (Dynamic blocks):
* lisp/allout-widgets.el (allout-widgets-hook-error-handler):
* lisp/calendar/appt.el (appt-display-message):
* lisp/calendar/icalendar.el (icalendar--convert-float-to-ical):
* lisp/calendar/timeclock.el (timeclock-in, timeclock-when-to-leave)
(timeclock-last-period, timeclock-day-base):
* lisp/eshell/em-ls.el (eshell-ls-file):
* lisp/eshell/esh-util.el (eshell-parse-ange-ls):
* lisp/generic-x.el (named-database-print-serial):
* lisp/net/newst-backend.el (newsticker--get-news-by-url-callback)
(newsticker-get-news, newsticker--sentinel-work)
(newsticker--image-get, newsticker--image-sentinel):
* lisp/net/tramp-sh.el (tramp-get-remote-touch):
* lisp/progmodes/opascal.el (opascal-debug-log):
* lisp/textmodes/remember.el (remember-mail-date)
(remember-store-in-files):
* lisp/vc/vc-annotate.el (vc-annotate-display-autoscale)
(vc-default-annotate-current-time):
* lisp/vc/vc-bzr.el (vc-bzr-shelve-snapshot):
* lisp/vc/vc-cvs.el (vc-cvs-annotate-current-time):
* lisp/vc/vc-rcs.el (vc-rcs-annotate-current-time):
* lisp/url/url-util.el (url-get-normalized-date):
* lisp/erc/erc-backend.el (TOPIC):
* lisp/gnus/gnus-delay.el (gnus-delay-article):
* lisp/gnus/gnus-sum.el (gnus-summary-read-document):
* lisp/gnus/gnus-util.el (gnus-seconds-today, gnus-seconds-month):
* lisp/gnus/message.el (message-make-expires-date):
* lisp/org/org-archive.el (org-archive-subtree)
(org-archive-to-archive-sibling):
* lisp/org/org-clock.el (org-resolve-clocks, org-clock-get-sum-start)
(org-clock-special-range):
* lisp/org/org-timer.el (org-timer-seconds):
* lisp/org/org.el (org-read-date-analyze, org-get-cursor-date):
* lisp/org/ox-html.el (org-html-format-spec):
* lisp/org/ox-icalendar.el (org-icalendar--vtodo):
Omit unnecessary call to current-time.
* lisp/calendar/time-date.el (time-to-seconds) [!float-time]:
* lisp/calendar/timeclock.el (timeclock-time-to-date):
* lisp/vc/vc-annotate.el (vc-annotate-convert-time):
Use current time if arg is nil, to be compatible with float-time.
(time-date--day-in-year): New function, with most of the guts of
the old time-to-day-in-year.
(time-to-day-in-year): Use it.
(time-to-days): Use it, to avoid decoding the same time stamp twice.
* lisp/calendar/timeclock.el (timeclock-update-mode-line):
* lisp/cedet/srecode/args.el (srecode-semantic-handle-:time):
* lisp/gnus/gnus-util.el (gnus-seconds-year):
* lisp/org/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/completion.el (cmpl-hours-since-origin):
* lisp/erc/erc.el (erc-emacs-time-to-erc-time):
* lisp/ido.el (ido-time-stamp):
* lisp/vc/vc-annotate.el (vc-annotate-convert-time):
Simplify by using float-time.
* lisp/completion.el (save-completions-to-file):
* lisp/url/url-cache.el (url-cache-prune-cache):
Rename local var to avoid confusion.
* lisp/gnus/gnus-util.el (gnus-float-time):
* lisp/net/rcirc.el (rcirc-float-time):
* lisp/org/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/subr.el (progress-reporter-do-update):
Don't call float-time unless needed.
* lisp/erc/erc.el (erc-current-time): Simplify by using erc-emacs-time-to-erc-time.
* lisp/org/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.
2014-10-28 18:42:51 -07:00
..
add-log.el * lisp/vc/add-log.el (change-log-next-buffer): Don't create an empty 2014-09-25 23:55:58 +03:00
compare-w.el
cvs-status.el
diff-mode.el Rename 24.5 to 25.1 2014-09-29 14:14:08 -04:00
diff.el
ediff-diff.el * lisp/vc/ediff-diff.el (ediff-set-fine-diff-properties-in-one-buffer): 2014-05-02 22:27:46 -04:00
ediff-help.el
ediff-hook.el
ediff-init.el ediff: Replace obsolete toggle-read-only with read-only-mode 2014-07-25 05:37:07 -04:00
ediff-merg.el
ediff-mult.el Doc and comment fixes re "online" help 2014-06-28 19:33:50 -07:00
ediff-ptch.el Doc and comment fixes re "online" help 2014-06-28 19:33:50 -07:00
ediff-util.el ediff: Replace obsolete toggle-read-only with read-only-mode 2014-07-25 05:37:07 -04:00
ediff-vers.el
ediff-wind.el
ediff.el Doc and comment fixes re "online" help 2014-06-28 19:33:50 -07:00
emerge.el * lisp/vc/emerge.el (emerge-make-temp-file): Simplify. 2014-05-14 10:05:16 -07:00
log-edit.el Tweak previous log-edit-changelog-entries change 2014-07-10 14:09:04 -04:00
log-view.el
pcvs-defs.el
pcvs-info.el
pcvs-parse.el
pcvs-util.el
pcvs.el
smerge-mode.el * lisp/vc/diff-mode.el (diff-refine-changed): Rename from 2014-06-18 11:33:57 +03:00
vc-annotate.el Simplify use of current-time and friends. 2014-10-28 18:42:51 -07:00
vc-arch.el
vc-bzr.el Simplify use of current-time and friends. 2014-10-28 18:42:51 -07:00
vc-cvs.el Simplify use of current-time and friends. 2014-10-28 18:42:51 -07:00
vc-dav.el
vc-dir.el * lisp/vc/vc-dir.el (vc-dir-update): Don't burp in corner case. 2014-09-05 13:37:12 -04:00
vc-dispatcher.el Stop vc from burying buffers sometimes 2014-10-21 17:05:13 +01:00
vc-git.el * lisp/vc/vc-git.el (vc-git-conflicted-files): Fix bug when git status 2014-09-04 12:34:45 -04:00
vc-hg.el Merge from emacs-24; up to 2014-06-01T23:37:59Z!eggert@cs.ucla.edu 2014-06-07 17:35:27 -07:00
vc-hooks.el Merge from emacs-24; up to 2014-06-26T06:55:15Z!rgm@gnu.org 2014-07-28 05:39:09 -04:00
vc-mtn.el
vc-rcs.el Simplify use of current-time and friends. 2014-10-28 18:42:51 -07:00
vc-sccs.el
vc-svn.el Fix vc-svn-ignore 2014-10-03 17:15:05 +04:00
vc.el Provide function for asking vc about project root 2014-04-20 16:24:04 -07:00