From 10539e275384eec3f3f087e91a2db9f8812818ec Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Mon, 8 Jul 2024 17:41:23 +0200 Subject: [PATCH] Make checkdoc recognize "U.S." acronym * lisp/emacs-lisp/checkdoc.el (checkdoc-in-abbreviation-p): Recognize "U.S." acronym. (cherry picked from commit f410b251fd8a30360f2b9969957dae3ab6ee5bd8) --- lisp/emacs-lisp/checkdoc.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/emacs-lisp/checkdoc.el b/lisp/emacs-lisp/checkdoc.el index 664cd17dc20..addf933affd 100644 --- a/lisp/emacs-lisp/checkdoc.el +++ b/lisp/emacs-lisp/checkdoc.el @@ -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") -- 2.39.2