[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 5c606a46bf: ; Fix typo in documentation of 'current-time-list'
From: |
Eli Zaretskii |
Subject: |
master 5c606a46bf: ; Fix typo in documentation of 'current-time-list' |
Date: |
Fri, 29 Apr 2022 03:13:00 -0400 (EDT) |
branch: master
commit 5c606a46bfcb3851365de2d4ffbff9e88fc1c21c
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>
; 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.
---
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 20b6c1cec6..5356969b0b 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 9f93c4067f..b0c0d0511a 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 bca9a566e0..7d2e3f6414 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. */);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 5c606a46bf: ; Fix typo in documentation of 'current-time-list',
Eli Zaretskii <=