From 5c606a46bfcb3851365de2d4ffbff9e88fc1c21c Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Fri, 29 Apr 2022 10:12:02 +0300 Subject: [PATCH] ; Fix typo in documentation of 'current-time-list' * src/timefns.c (syms_of_timefns) : * etc/NEWS: * doc/lispref/os.texi (Time of Day): Fix a typo. --- doc/lispref/os.texi | 2 +- etc/NEWS | 2 +- src/timefns.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/lispref/os.texi b/doc/lispref/os.texi index 20b6c1cec63..5356969b0b8 100644 --- a/doc/lispref/os.texi +++ b/doc/lispref/os.texi @@ -1420,7 +1420,7 @@ This boolean variable is a transition aid. If @code{t}, form, typically @code{(@var{high} @var{low} @var{micro} @var{pico})}; otherwise, they use @code{(@var{ticks} . @var{hz})} form. Currently this variable defaults to @code{t}, for behavior compatible with -previous Emacs versions. Developers are encourage to test +previous Emacs versions. Developers are encouraged to test timestamp-related code with this variable set to @code{nil}, as it will default to @code{nil} in a future Emacs version, and will be removed in some version after that. diff --git a/etc/NEWS b/etc/NEWS index 9f93c4067f7..b0c0d0511a4 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -209,7 +209,7 @@ new variable is nil. The variable defaults to t, which means these functions default to timestamps of the forms (HI LO US PS), (HI LO US) or (HI LO), which are less regular and less efficient. This is part of a long-planned change first documented in Emacs 27. Developers are -encourage to test timestamp-related code with this variable set to +encouraged to test timestamp-related code with this variable set to nil, as it will default to nil in a future Emacs version and will be removed some time after that. diff --git a/src/timefns.c b/src/timefns.c index bca9a566e08..7d2e3f64143 100644 --- a/src/timefns.c +++ b/src/timefns.c @@ -2033,7 +2033,7 @@ This boolean variable is a transition aid. If t, `current-time' and related functions return timestamps in list form, typically \(HIGH LOW USEC PSEC); otherwise, they use (TICKS . HZ) form. Currently this variable defaults to t, for behavior compatible with -previous Emacs versions. Developers are encourage to test +previous Emacs versions. Developers are encouraged to test timestamp-related code with this variable set to nil, as it will default to nil in a future Emacs version, and will be removed in some version after that. */); -- 2.39.2