1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-21 12:03:55 -08:00
emacs/doc/misc
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
..
.gitignore
ada-mode.texi Add .info extension to @setfilename commands in doc/ 2014-06-09 22:20:31 -04:00
auth.texi Add .info extension to @setfilename commands in doc/ 2014-06-09 22:20:31 -04:00
autotype.texi Merge from emacs-24; up to 2014-06-08T18:27:22Z!eggert@cs.ucla.edu 2014-06-24 00:15:26 -07:00
bovine.texi Add .info extension to @setfilename commands in doc/ 2014-06-09 22:20:31 -04:00
calc.texi doc/misc/calc.texi (Quick Calculator): Mention prefix argument of 2014-10-28 19:37:37 -05:00
cc-mode.texi Add .info extension to @setfilename commands in doc/ 2014-06-09 22:20:31 -04:00
ChangeLog Simplify use of current-time and friends. 2014-10-28 18:42:51 -07:00
cl.texi Enhance terpri to allow conditionally output a newline 2014-10-09 06:05:48 +08:00
dbus.texi Merge from emacs-24; up to 2014-06-06T02:22:40Z!monnier@iro.umontreal.ca 2014-06-21 12:45:59 -07:00
dired-x.texi Merge from emacs-24; up to 2014-06-08T18:27:22Z!eggert@cs.ucla.edu 2014-06-24 00:15:26 -07:00
doclicense.texi Update licenses to latest version from FSF. 2012-12-06 00:33:32 -08:00
ebrowse.texi Add .info extension to @setfilename commands in doc/ 2014-06-09 22:20:31 -04:00
ede.texi Add .info extension to @setfilename commands in doc/ 2014-06-09 22:20:31 -04:00
ediff.texi Remove remaining mentions of VMS as a host 2014-08-07 12:49:36 +01:00
edt.texi Add .info extension to @setfilename commands in doc/ 2014-06-09 22:20:31 -04:00
efaq-w32.texi Neutralized language specific to a repository type. 2014-10-26 11:38:44 -04:00
efaq.texi Neutralize labguage specific to a VCS type. 2014-10-26 11:43:38 -04:00
eieio.texi Add .info extension to @setfilename commands in doc/ 2014-06-09 22:20:31 -04:00
emacs-gnutls.texi Add .info extension to @setfilename commands in doc/ 2014-06-09 22:20:31 -04:00
emacs-mime.texi Add .info extension to @setfilename commands in doc/ 2014-06-09 22:20:31 -04:00
epa.texi Add .info extension to @setfilename commands in doc/ 2014-06-09 22:20:31 -04:00
erc.texi doc/misc/erc.texi (Connecting): Remove stray "OA" that failed the manual build. 2014-10-03 16:02:53 +03:00
ert.texi Add .info extension to @setfilename commands in doc/ 2014-06-09 22:20:31 -04:00
eshell.texi Add .info extension to @setfilename commands in doc/ 2014-06-09 22:20:31 -04:00
eudc.texi Add .info extension to @setfilename commands in doc/ 2014-06-09 22:20:31 -04:00
eww.texi Add .info extension to @setfilename commands in doc/ 2014-06-09 22:20:31 -04:00
flymake.texi Add .info extension to @setfilename commands in doc/ 2014-06-09 22:20:31 -04:00
forms.texi Add .info extension to @setfilename commands in doc/ 2014-06-09 22:20:31 -04:00
gnus-coding.texi Neutralize language specific to a repository type. 2014-10-25 15:23:20 -04:00
gnus-faq.texi Merge from emacs-24; up to 2014-06-02T11:35:40Z!michael.albinus@gmx.de 2014-06-08 16:41:43 -07:00
gnus-news.el Fix copyright years by hand. 2014-01-01 00:31:29 -08:00
gnus-news.texi Update copyright year to 2014 by running admin/update-copyright. 2014-01-01 07:43:34 +00:00
gnus-overrides.texi gnus-overrides.texi: Renamed from overrides.texi and all the relevant manuals use it now. 2011-02-06 00:25:41 +00:00
gnus.texi [Gnus] Allow list-valued gcc-self group params 2014-07-31 13:11:41 +00:00
gpl.texi Update licenses to latest version from FSF. 2012-12-06 00:33:32 -08:00
htmlfontify.texi Add .info extension to @setfilename commands in doc/ 2014-06-09 22:20:31 -04:00
idlwave.texi Merge from emacs-24; up to 2014-06-15T04:52:34Z!eli@barzilay.org 2014-07-02 23:00:53 -07:00
ido.texi Add .info extension to @setfilename commands in doc/ 2014-06-09 22:20:31 -04:00
info.texi Doc and comment fixes re "online" help 2014-06-28 19:33:50 -07:00
mairix-el.texi Add .info extension to @setfilename commands in doc/ 2014-06-09 22:20:31 -04:00
Makefile.in Merge from emacs-24; up to 2014-07-26T12:14:42Z!schwab@linux-m68k.org 2014-10-12 18:47:48 -07:00
makefile.w32-in Update copyright year to 2014 by running admin/update-copyright. 2014-01-01 07:43:34 +00:00
message.texi Add .info extension to @setfilename commands in doc/ 2014-06-09 22:20:31 -04:00
mh-e.texi Merge from emacs-24; up to 2014-06-15T04:52:34Z!eli@barzilay.org 2014-07-02 23:00:53 -07:00
newsticker.texi Fix "make docs" failure 2014-10-06 20:26:24 +02:00
nxml-mode.texi Add .info extension to @setfilename commands in doc/ 2014-06-09 22:20:31 -04:00
octave-mode.texi Add .info extension to @setfilename commands in doc/ 2014-06-09 22:20:31 -04:00
org.texi Simplify use of current-time and friends. 2014-10-28 18:42:51 -07:00
pcl-cvs.texi Add .info extension to @setfilename commands in doc/ 2014-06-09 22:20:31 -04:00
pgg.texi Add .info extension to @setfilename commands in doc/ 2014-06-09 22:20:31 -04:00
rcirc.texi Add .info extension to @setfilename commands in doc/ 2014-06-09 22:20:31 -04:00
reftex.texi Add .info extension to @setfilename commands in doc/ 2014-06-09 22:20:31 -04:00
remember.texi Add .info extension to @setfilename commands in doc/ 2014-06-09 22:20:31 -04:00
sasl.texi Add .info extension to @setfilename commands in doc/ 2014-06-09 22:20:31 -04:00
sc.texi Add .info extension to @setfilename commands in doc/ 2014-06-09 22:20:31 -04:00
sem-user.texi Use @file for buffers, per the Texinfo manual 2014-03-12 16:52:34 -04:00
semantic.texi Add .info extension to @setfilename commands in doc/ 2014-06-09 22:20:31 -04:00
ses.texi Adding support for SES local printer functions 2014-06-12 08:04:48 +02:00
sieve.texi Add .info extension to @setfilename commands in doc/ 2014-06-09 22:20:31 -04:00
smtpmail.texi Add .info extension to @setfilename commands in doc/ 2014-06-09 22:20:31 -04:00
speedbar.texi Add .info extension to @setfilename commands in doc/ 2014-06-09 22:20:31 -04:00
srecode.texi "the the", "from from" and "and and". 2014-06-23 01:12:17 +02:00
texinfo.tex Merge from gnulib. 2014-05-26 22:55:18 -07:00
todo-mode.texi Merge from emacs-24; up to 2014-06-26T06:55:15Z!rgm@gnu.org 2014-07-28 05:39:09 -04:00
tramp.texi * tramp.texi (Remote shell setup): Explain, how to change command 2014-08-07 11:15:44 +02:00
trampver.texi * trampver.texi: Update release number. 2014-07-03 11:10:05 +02:00
url.texi Add .info extension to @setfilename commands in doc/ 2014-06-09 22:20:31 -04:00
vhdl-mode.texi Spelling fixes. 2014-09-11 12:44:25 -07:00
vip.texi Merge from emacs-24; up to 2014-07-20T16:14:58Z!dmantipov@yandex.ru 2014-10-04 00:05:21 -07:00
viper.texi Add .info extension to @setfilename commands in doc/ 2014-06-09 22:20:31 -04:00
widget.texi Add .info extension to @setfilename commands in doc/ 2014-06-09 22:20:31 -04:00
wisent.texi Add .info extension to @setfilename commands in doc/ 2014-06-09 22:20:31 -04:00
woman.texi Add .info extension to @setfilename commands in doc/ 2014-06-09 22:20:31 -04:00