Subject: bug#72167: [PATCH] Fix typos and grammars

From: john muhl <[email-masked]>
Date: Wed, 17 Jul 2024 20:45:56 -0500

Tags: patch

In GNU Emacs 31.0.50 (build 4, x86_64-pc-linux-gnu, GTK+ Version
 3.24.42, cairo version 1.18.0) of 2024-07-07 built on localhost
Repository revision: d98c31ae2ca83a1ba8615401aa6d19d80c521b48
Repository branch: main
System Description: Fedora Linux 40 (Workstation Edition)

Configured using:
 'configure -C --with-pgtk --prefix=/home/jm/.local'

>From 8eb709f6a5ab64c6e8ca894021a4389cfa9fa0d1 Mon Sep 17 00:00:00 2001
From: john muhl <[email-masked]>
Date: Mon, 15 Jul 2024 15:08:41 -0500
Subject: [PATCH] ; Fix typos

* lisp/minibuffer.el (completion-auto-deselect): Correct spelling
of "minibuffer".
* lisp/progmodes/peg.el (peg--actions): Correct spelling of
"post-processing".
* lisp/progmodes/php-ts-mode.el: Correct spelling of "taken".
---
 lisp/minibuffer.el            | 2 +-
 lisp/progmodes/peg.el         | 2 +-
 lisp/progmodes/php-ts-mode.el | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/lisp/minibuffer.el b/lisp/minibuffer.el
index 0a0b17b3850..0f6e3518758 100644
--- a/lisp/minibuffer.el
+++ b/lisp/minibuffer.el
@@ -2529,7 +2529,7 @@ completion-auto-deselect
 indicate that it is the selected candidate) will be un-highlighted,
 and point in the *Completions* window will be moved off such a candidate.
 This means that `RET' (`minibuffer-choose-completion-or-exit') will exit
-the minubuffer with the minibuffer's current contents, instead of the
+the minibuffer with the minibuffer's current contents, instead of the
 selected completion candidate."
   :type '(choice (const :tag "Candidates in *Completions* stay selected as you type" nil)
                  (const :tag "Typing deselects any completion candidate in *Completions*" t))
diff --git a/lisp/progmodes/peg.el b/lisp/progmodes/peg.el
index 6dedb6e4895..d19a48c3294 100644
--- a/lisp/progmodes/peg.el
+++ b/lisp/progmodes/peg.el
@@ -274,7 +274,7 @@ peg--actions
   "Actions collected along the current parse.
 Used at runtime for backtracking.  It's a list ((POS . THUNK)...).
 Each THUNK is executed at the corresponding POS.  Thunks are
-executed in a postprocessing step, not during parsing.")
+executed in a post-processing step, not during parsing.")
 
 (defvar peg--errors nil
   "Data keeping track of the rightmost parse failure location.
diff --git a/lisp/progmodes/php-ts-mode.el b/lisp/progmodes/php-ts-mode.el
index 1298b39311b..89444f0208e 100644
--- a/lisp/progmodes/php-ts-mode.el
+++ b/lisp/progmodes/php-ts-mode.el
@@ -209,7 +209,7 @@ php-ts-mode--indent-style-setter
         (when (derived-mode-p 'php-ts-mode)
           (php-ts-mode-set-style val)))))
 
-;; teken from c-ts-mode
+;; taken from c-ts-mode
 (defun php-ts-indent-style-safep (style)
   "Non-nil if STYLE's value is safe for file-local variables."
   (and (symbolp style) (not (functionp style))))
-- 
2.45.2

>From 8a36e6935c17152bcab3939105ee7653aa9dee8c Mon Sep 17 00:00:00 2001
From: john muhl <[email-masked]>
Date: Wed, 17 Jul 2024 15:48:37 -0500
Subject: [PATCH] ; * doc/emacs/anti.texi (Antinews): Fix grammar.

---
 doc/emacs/anti.texi | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/doc/emacs/anti.texi b/doc/emacs/anti.texi
index 42c656ac852..bf355ff1fea 100644
--- a/doc/emacs/anti.texi
+++ b/doc/emacs/anti.texi
@@ -42,9 +42,9 @@ Antinews
 process much faster.
 
 @item
-JSON interfaces are slowly move into oblivion as past years come closer,
-so we have removed our internal implementation of JSON; you will now
-need to build Emacs with the libjansson library, if you need JSON.
+JSON interfaces slowly move into oblivion as past years come closer, so
+we have removed our internal implementation of JSON; you will now need
+to build Emacs with the libjansson library, if you need JSON.
 Eventually, we plan on removing JSON support from Emacs altogether; this
 move will make the removal much simpler.
 
@@ -52,7 +52,7 @@ Antinews
 Tree-sitter based modes are now completely independent of their
 non-Tree-Sitter counterparts.  We decided that keeping the settings
 separate and independent goes a long way toward simplicity, which is one
-of our main motivation for removing stuff from Emacs.
+of our main motivations for removing stuff from Emacs.
 
 @item
 Various Help commands no longer turn on Outline minor mode.  With less
-- 
2.45.2