all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#56486: [PATCH] * time-date.el (decoded-time-period): Rename TIME in docstring
@ 2022-07-10 18:55 Philip Kaludercic
  2022-07-10 21:36 ` Stefan Kangas
  0 siblings, 1 reply; 3+ messages in thread
From: Philip Kaludercic @ 2022-07-10 18:55 UTC (permalink / raw)
  To: 56486

[-- Attachment #1: Type: text/plain, Size: 452 bytes --]

Tags: patch


This appears to be a typo?


In GNU Emacs 29.0.50 (build 5, x86_64-pc-linux-gnu, GTK+ Version 3.24.34, cairo version 1.17.6)
 of 2022-07-04 built on rhea
Repository revision: 09444b5fc4d9703eddd227df192603fd03b45577
Repository branch: master
System Description: Fedora Linux 36 (Workstation Edition)

Configured using:
 'configure --with-pgtk --with-imagemagick --with-native-compilation
 'CFLAGS=-march=native -O2 -pipe' LDFLAGS=-flto'


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-time-date.el-decoded-time-period-Rename-TIME-in-docs.patch --]
[-- Type: text/patch, Size: 868 bytes --]

From 3a23f34c955f6f8e4cd662583fda8c211a2147cb Mon Sep 17 00:00:00 2001
From: Philip Kaludercic <philipk@posteo.net>
Date: Sun, 10 Jul 2022 20:55:02 +0200
Subject: [PATCH] * time-date.el (decoded-time-period): Rename TIME in
 docstring

Author:
---
 lisp/calendar/time-date.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* bug#56486: [PATCH] * time-date.el (decoded-time-period): Rename TIME in docstring
  2022-07-10 18:55 bug#56486: [PATCH] * time-date.el (decoded-time-period): Rename TIME in docstring Philip Kaludercic
@ 2022-07-10 21:36 ` Stefan Kangas
  2022-07-10 23:07   ` Philip Kaludercic
  0 siblings, 1 reply; 3+ messages in thread
From: Stefan Kangas @ 2022-07-10 21:36 UTC (permalink / raw)
  To: Philip Kaludercic, 56486

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





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#56486: [PATCH] * time-date.el (decoded-time-period): Rename TIME in docstring
  2022-07-10 21:36 ` Stefan Kangas
@ 2022-07-10 23:07   ` Philip Kaludercic
  0 siblings, 0 replies; 3+ messages in thread
From: Philip Kaludercic @ 2022-07-10 23:07 UTC (permalink / raw)
  To: Stefan Kangas; +Cc: 56486-done

Stefan Kangas <stefankangas@gmail.com> writes:

> Philip Kaludercic <philipk@posteo.net> writes:
>
>> This appears to be a typo?
>
> Indeed, please push to master.

Done.





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-07-10 23:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-10 18:55 bug#56486: [PATCH] * time-date.el (decoded-time-period): Rename TIME in docstring Philip Kaludercic
2022-07-10 21:36 ` Stefan Kangas
2022-07-10 23:07   ` Philip Kaludercic

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.