emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/compat dff3639b70: Fix typos in documentation (#32)


From: ELPA Syncer
Subject: [elpa] externals/compat dff3639b70: Fix typos in documentation (#32)
Date: Sat, 6 Jan 2024 09:57:37 -0500 (EST)

branch: externals/compat
commit dff3639b70f3c9916c5397056a51cdc3e60d5668
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: GitHub <noreply@github.com>

    Fix typos in documentation (#32)
---
 NEWS.org        | 2 +-
 compat-28.el    | 2 +-
 compat-macs.el  | 2 +-
 compat-tests.el | 4 ++--
 compat.texi     | 2 +-
 5 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/NEWS.org b/NEWS.org
index 2acbf5689e..a4beb435d0 100644
--- a/NEWS.org
+++ b/NEWS.org
@@ -279,7 +279,7 @@ directly (see [[compat-srht:2]]).
 * Release of "Compat" Version 28.1.1.0
 
 This release mostly fixes a number of smaller bugs that were not
-identified as of 28.1.0.0.  Nevertheless these warrent a version bump,
+identified as of 28.1.0.0.  Nevertheless these warrant a version bump,
 as some of these changes a functional.  These include:
 
 - The addition of the =file-attribute-*= accessor functions.
diff --git a/compat-28.el b/compat-28.el
index f9719f34e7..9bf0ed2de7 100644
--- a/compat-28.el
+++ b/compat-28.el
@@ -782,7 +782,7 @@ Other uses risk returning non-nil value that point to the 
wrong file."
 ;;;; Defined in env.el
 
 (compat-defmacro with-environment-variables (variables &rest body) ;; 
<compat-tests:with-environment-variables>
-  "Set VARIABLES in the environent and execute BODY.
+  "Set VARIABLES in the environment and execute BODY.
 VARIABLES is a list of variable settings of the form (VAR VALUE),
 where VAR is the name of the variable (a string) and VALUE
 is its value (also a string).
diff --git a/compat-macs.el b/compat-macs.el
index 5f11edfff8..93e0f228fb 100644
--- a/compat-macs.el
+++ b/compat-macs.el
@@ -142,7 +142,7 @@ REST are attributes and the function BODY."
 (defmacro compat-guard (cond &rest rest)
   "Guard definition with a runtime COND and a version check.
 The runtime condition must make sure that no definition is
-overriden.  REST is an attribute plist followed by the definition
+overridden.  REST is an attribute plist followed by the definition
 body.  The attributes specify the conditions under which the
 definition is generated.
 
diff --git a/compat-tests.el b/compat-tests.el
index cc0a2ed37c..6a1534c2ab 100644
--- a/compat-tests.el
+++ b/compat-tests.el
@@ -2027,10 +2027,10 @@
 (ert-deftest compat-string-search ()
   ;; Find needle at the beginning of a haystack:
   (should-equal 0 (string-search "a" "abb"))
-  ;; Find needle at the begining of a haystack, with more potential
+  ;; Find needle at the beginning of a haystack, with more potential
   ;; needles that could be found:
   (should-equal 0 (string-search "a" "abba"))
-  ;; Find needle with more than one charachter at the beginning of
+  ;; Find needle with more than one character at the beginning of
   ;; a line:
   (should-equal 0 (string-search "aa" "aabbb"))
   ;; Find a needle midstring:
diff --git a/compat.texi b/compat.texi
index 1fa8243c7f..eeed845d25 100644
--- a/compat.texi
+++ b/compat.texi
@@ -2680,7 +2680,7 @@ complex text shaping requires that for some scripts.  
When that
 happens, characters no longer map in a simple way to display columns,
 and display layout decisions with such strings, such as truncating too
 wide strings, can be a complex job.  This function helps in performing
-suvh jobs: it splits up its argument @var{string} into a list of
+such jobs: it splits up its argument @var{string} into a list of
 substrings, where each substring produces a single grapheme cluster
 that should be displayed as a unit.  Lisp programs can then use this
 list to construct visually-valid substrings of @var{string} which will



reply via email to

[Prev in Thread] Current Thread [Next in Thread]