1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-16 10:50:49 -08:00

; Fix typo in documentation of 'current-time-list'

* src/timefns.c (syms_of_timefns) <current-time-list>:
* etc/NEWS:
* doc/lispref/os.texi (Time of Day): Fix a typo.
This commit is contained in:
Eli Zaretskii 2022-04-29 10:12:02 +03:00
parent cc297af178
commit 5c606a46bf
3 changed files with 3 additions and 3 deletions

View file

@ -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})}; form, typically @code{(@var{high} @var{low} @var{micro} @var{pico})};
otherwise, they use @code{(@var{ticks} . @var{hz})} form. Currently otherwise, they use @code{(@var{ticks} . @var{hz})} form. Currently
this variable defaults to @code{t}, for behavior compatible with 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 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 will default to @code{nil} in a future Emacs version, and will be
removed in some version after that. removed in some version after that.

View file

@ -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) 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 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 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 nil, as it will default to nil in a future Emacs version and will be
removed some time after that. removed some time after that.

View file

@ -2033,7 +2033,7 @@ This boolean variable is a transition aid. If t, `current-time' and
related functions return timestamps in list form, typically related functions return timestamps in list form, typically
\(HIGH LOW USEC PSEC); otherwise, they use (TICKS . HZ) form. \(HIGH LOW USEC PSEC); otherwise, they use (TICKS . HZ) form.
Currently this variable defaults to t, for behavior compatible with 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 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 default to nil in a future Emacs version, and will be removed in some
version after that. */); version after that. */);