X-Git-Url: http://cgit.sxemacs.org/?a=blobdiff_plain;f=lisp%2FChangeLog;h=250d2e8e9ba1110c955c1d34f8f911125ac1071d;hb=75723739287ba519d3cb65f4d7caaffcb662ebd3;hp=ad98a159b881be087fa799d87fbe9993feae6999;hpb=8bb74da7932287e4f5fd806aa6c7dae35256bdce;p=gnus diff --git a/lisp/ChangeLog b/lisp/ChangeLog index ad98a159b..250d2e8e9 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,22 @@ +2014-10-29 Paul Eggert + + Simplify use of current-time and friends. + * gnus-delay.el (gnus-delay-article): + * gnus-sum.el (gnus-summary-read-document): + * gnus-util.el (gnus-seconds-today, gnus-seconds-month): + * message.el (message-make-expires-date): + Omit unnecessary call to current-time. + * gnus-util.el (gnus-float-time): Simplify to an alias because + time-to-seconds now behaves like float-time with respect to nil arg. + (gnus-seconds-year): Don't call current-time twice to get the current + time stamp, as this can lead to inconsistent results. + * time-date.el (time-to-seconds) [!float-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. + 2014-10-27 Katsumi Yamaoka * gnus.el (gnus-mode-line-buffer-identification):