bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#56486: [PATCH] * time-date.el (decoded-time-period): Rename TIME in


From: Stefan Kangas
Subject: bug#56486: [PATCH] * time-date.el (decoded-time-period): Rename TIME in docstring
Date: Sun, 10 Jul 2022 14:36:47 -0700

Philip Kaludercic <philipk@posteo.net> writes:

> This appears to be a typo?

Indeed, please push to master.

> diff --git a/lisp/calendar/time-date.el b/lisp/calendar/time-date.el
> index d19134db83..d1afd8ce95 100644
> --- a/lisp/calendar/time-date.el
> +++ b/lisp/calendar/time-date.el
> @@ -590,7 +590,7 @@ decoded-time-set-defaults
>    time)
>
>  (defun decoded-time-period (time)
> -  "Interpret DECODED as a period and return its length in seconds.
> +  "Interpret TIME as a period and return its length in seconds.
>  For computational purposes, years are 365 days long and months
>  are 30 days long."
>    (+ (if (consp (decoded-time-second time))
> --
> 2.36.1





reply via email to

[Prev in Thread] Current Thread [Next in Thread]