From: Eli Zaretskii Date: Fri, 29 Apr 2022 07:12:02 +0000 (+0300) Subject: ; Fix typo in documentation of 'current-time-list' X-Git-Tag: emacs-29.0.90~1931^2~222 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5c606a46bfcb3851365de2d4ffbff9e88fc1c21c;p=emacs.git ; 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. --- 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. */);