From a6a127d4d4a81798c5cc35a1723f29e7812cbdf3 Mon Sep 17 00:00:00 2001
From: Michael Albinus <michael.albinus@gmx.de>
Date: Fri, 14 Apr 2023 14:36:29 +0200
Subject: [PATCH] ; Fix typos

* etc/NEWS: Fix typos.

* lisp/progmodes/flymake.el (flymake-error-echo)
(flymake-warning-echo, flymake-note-echo)
(flymake-show-diagnostics-at-end-of-line): Fix :package-version.
---
 etc/NEWS                  | 10 ++++++----
 lisp/progmodes/flymake.el |  8 ++++----
 2 files changed, 10 insertions(+), 8 deletions(-)

diff --git a/etc/NEWS b/etc/NEWS
index 611dcf3dc7d..cf0e05078f5 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -176,14 +176,14 @@ to load the edited aliases.
 
 +++
 *** 'rgrep' is now a builtin command.
-Running "rgrep" in Eshell now uses the Emacs grep facility instead of
+Running 'rgrep' in Eshell now uses the Emacs grep facility instead of
 calling external rgrep.
 
 ** Shell Mode
 
 +++
 *** New user option 'shell-get-old-input-include-continuation-lines'.
-When this user option is non-nil, 'shell-get-old-input' (C-RET)
+When this user option is non-nil, 'shell-get-old-input' ('C-RET')
 includes multiple shell "\" continuation lines from command output.
 Default is nil.
 
@@ -259,6 +259,7 @@ following to your init file:
               #'shortdoc-help-fns-examples-function)
 
 ** Package
+
 ---
 *** New user option 'package-vc-register-as-project'.
 When non-nil, it will automatically register every package as a
@@ -266,6 +267,7 @@ project, that you can quickly select using 'project-switch-project'
 ('C-x p p').
 
 ** Flymake
+
 +++
 *** New user option 'flymake-show-diagnostics-at-end-of-line'.
 When non-nil, Flymake shows summarized descriptions of diagnostics at
@@ -332,7 +334,7 @@ hooks named after the feature name, like 'esh-mode-unload-hook'.
 
 * Lisp Changes in Emacs 30.1
 
-** New var 'inhibit-auto-fill' to temporarily prevent auto-fill.
+** New variable 'inhibit-auto-fill' to temporarily prevent auto-fill.
 
 ** Functions and variables to transpose sexps
 
@@ -448,7 +450,7 @@ any unwind forms, as in
 
     (unwind-protect (read buffer))
 
-because the behaviour is identical to that of the argument; there is
+because the behavior is identical to that of the argument; there is
 no protection of any kind.  Perhaps the intended unwind forms have
 been misplaced or forgotten, or the use of 'unwind-protect' could be
 simplified away.
diff --git a/lisp/progmodes/flymake.el b/lisp/progmodes/flymake.el
index f2fe97cb773..ac408145696 100644
--- a/lisp/progmodes/flymake.el
+++ b/lisp/progmodes/flymake.el
@@ -434,22 +434,22 @@ verify FILTER, a function, and sort them by COMPARE (using KEY)."
 (defface flymake-error-echo
   '((t :inherit compilation-error))
   "Face used for showing summarized descriptions of errors."
-  :package-version '("Flymake" . "1.3.4"))
+  :package-version '(Flymake . "1.3.4"))
 
 (defface flymake-warning-echo
   '((t :inherit compilation-warning))
   "Face used for showing summarized descriptions of warnings."
-  :package-version '("Flymake" . "1.3.4"))
+  :package-version '(Flymake . "1.3.4"))
 
 (defface flymake-note-echo
   '((t :inherit flymake-note))
   "Face used for showing summarized descriptions of notes."
-  :package-version '("Flymake" . "1.3.4"))
+  :package-version '(Flymake . "1.3.4"))
 
 (defcustom flymake-show-diagnostics-at-end-of-line nil
   "If non-nil, add diagnostic summary messages at end-of-line."
   :type 'boolean
-  :package-version '("Flymake" . "1.3.4"))
+  :package-version '(Flymake . "1.3.4"))
 
 (define-obsolete-face-alias 'flymake-warnline 'flymake-warning "26.1")
 (define-obsolete-face-alias 'flymake-errline 'flymake-error "26.1")
-- 
2.39.5