emacs/lisp/textmodes
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
artist.el Update copyright year to 2014 by running admin/update-copyright. 2014-01-01 07:43:34 +00:00
bib-mode.el Replace "Maintainer: FSF" with the emacs-devel mailing address 2014-02-09 17:34:22 -08:00
bibtex-style.el Update copyright year to 2014 by running admin/update-copyright. 2014-01-01 07:43:34 +00:00
bibtex.el * lisp/electric.el (electric-layout-post-self-insert-function): 2014-06-22 09:43:58 +04:00
conf-mode.el * lisp/font-lock.el (font-lock-flush, font-lock-ensure): New functions. 2014-05-28 23:45:29 -04:00
css-mode.el * lisp/textmodes/css-mode.el (scss-mode): New major-mode. 2014-10-20 12:36:34 -04:00
dns-mode.el Update copyright year to 2014 by running admin/update-copyright. 2014-01-01 07:43:34 +00:00
enriched.el Update copyright year to 2014 by running admin/update-copyright. 2014-01-01 07:43:34 +00:00
fill.el Replace "Maintainer: FSF" with the emacs-devel mailing address 2014-02-09 17:34:22 -08:00
flyspell.el Replace "Maintainer: FSF" with the emacs-devel mailing address 2014-02-09 17:34:22 -08:00
ispell.el Use file-accessible-directory-p in some more places 2014-05-09 00:02:00 -07:00
makeinfo.el Replace "Maintainer: FSF" with the emacs-devel mailing address 2014-02-09 17:34:22 -08:00
nroff-mode.el Replace "Maintainer: FSF" with the emacs-devel mailing address 2014-02-09 17:34:22 -08:00
page-ext.el Update copyright year to 2014 by running admin/update-copyright. 2014-01-01 07:43:34 +00:00
page.el Replace "Maintainer: FSF" with the emacs-devel mailing address 2014-02-09 17:34:22 -08:00
paragraphs.el Replace "Maintainer: FSF" with the emacs-devel mailing address 2014-02-09 17:34:22 -08:00
picture.el Fix a few packages to work with nil tab-stop-list 2014-06-26 07:53:37 +08:00
po.el Update copyright year to 2014 by running admin/update-copyright. 2014-01-01 07:43:34 +00:00
refbib.el Replace "Maintainer: FSF" with the emacs-devel mailing address 2014-02-09 17:34:22 -08:00
refer.el Update copyright year to 2014 by running admin/update-copyright. 2014-01-01 07:43:34 +00:00
refill.el Update copyright year to 2014 by running admin/update-copyright. 2014-01-01 07:43:34 +00:00
reftex-auc.el Manage reftex's internal autoloads automatically 2014-03-28 20:53:32 -04:00
reftex-cite.el Manage reftex's internal autoloads automatically 2014-03-28 20:53:32 -04:00
reftex-dcr.el Manage reftex's internal autoloads automatically 2014-03-28 20:53:32 -04:00
reftex-global.el Manage reftex's internal autoloads automatically 2014-03-28 20:53:32 -04:00
reftex-index.el Manage reftex's internal autoloads automatically 2014-03-28 20:53:32 -04:00
reftex-parse.el Make search in reftex-using-biblatex-p non-greedy. 2014-06-24 21:39:22 +02:00
reftex-ref.el Improve reftex-format-special 2014-05-25 19:40:54 +02:00
reftex-sel.el Use font-lock-face property; derive from special-mode 2014-09-21 11:34:02 +02:00
reftex-toc.el Use font-lock-face property; derive from special-mode 2014-09-21 11:34:02 +02:00
reftex-vars.el Add `Texinfo' entry to reftex-label-alist-builtin. 2014-01-06 12:15:42 +01:00
reftex.el Auto-commit of loaddefs files. 2014-09-21 06:22:38 -04:00
remember.el Simplify use of current-time and friends. 2014-10-28 18:42:51 -07:00
rst.el "the the", "from from" and "and and". 2014-06-23 01:12:17 +02:00
sgml-mode.el Set sgml-validate-command based on validator existence 2014-08-11 16:15:59 -04:00
table.el Spelling fixes. 2014-01-05 22:25:30 -08:00
tex-mode.el Rename 24.5 to 25.1 2014-09-29 14:14:08 -04:00
texinfmt.el Update copyright year to 2014 by running admin/update-copyright. 2014-01-01 07:43:34 +00:00
texinfo.el Fix bug #17801 with extraneous newlines after inserting markup in Texinfo mode. 2014-06-20 11:47:10 +03:00
texnfo-upd.el Fix a bug in texinfo-make-menu. 2014-08-21 18:07:13 +03:00
text-mode.el Replace "Maintainer: FSF" with the emacs-devel mailing address 2014-02-09 17:34:22 -08:00
tildify.el tildify.el (tildify--pick-alist-entry): rename from tildify-mode-alist 2014-10-17 09:20:51 +02:00
two-column.el Update copyright year to 2014 by running admin/update-copyright. 2014-01-01 07:43:34 +00:00
underline.el Replace "Maintainer: FSF" with the emacs-devel mailing address 2014-02-09 17:34:22 -08:00