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

Previous Next

Package: emacs;

Reported by: Philip Kaludercic <philipk <at> posteo.net>

Date: Sun, 10 Jul 2022 18:56:02 UTC

Severity: minor

Tags: patch

Done: Philip Kaludercic <philipk <at> posteo.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Kangas <stefankangas <at> gmail.com>
To: Philip Kaludercic <philipk <at> posteo.net>, 56486 <at> debbugs.gnu.org
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 <at> 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




This bug report was last modified 3 years and 6 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.