]> git.eshelyaron.com Git - emacs.git/commitdiff
Make checkdoc recognize "U.S." acronym
authorStefan Kangas <stefankangas@gmail.com>
Mon, 8 Jul 2024 15:41:23 +0000 (17:41 +0200)
committerEshel Yaron <me@eshelyaron.com>
Mon, 8 Jul 2024 20:58:39 +0000 (22:58 +0200)
* lisp/emacs-lisp/checkdoc.el (checkdoc-in-abbreviation-p): Recognize
"U.S." acronym.

(cherry picked from commit f410b251fd8a30360f2b9969957dae3ab6ee5bd8)

lisp/emacs-lisp/checkdoc.el

index 664cd17dc20b3d4affda8a76d48339b9ea425564..addf933affdf63ad08cacaacd2e1552f22ff3bc3 100644 (file)
@@ -2171,7 +2171,7 @@ Examples of recognized abbreviations: \"e.g.\", \"i.e.\", \"cf.\"."
                   (seq (any "cC") "f")            ; cf.
                   (seq (any "eE") ".g")           ; e.g.
                   (seq (any "iI") "." (any "eE")) ; i.e.
-                  "a.k.a" "etc" "vs" "N.B"
+                  "a.k.a" "etc" "vs" "N.B" "U.S"
                   ;; Some non-standard or less common ones that we
                   ;; might as well accept.
                   "Inc" "Univ" "misc" "resp")