From: Stefan Kangas Date: Mon, 8 Jul 2024 15:41:23 +0000 (+0200) Subject: Make checkdoc recognize "U.S." acronym X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=10539e275384eec3f3f087e91a2db9f8812818ec;p=emacs.git Make checkdoc recognize "U.S." acronym * lisp/emacs-lisp/checkdoc.el (checkdoc-in-abbreviation-p): Recognize "U.S." acronym. (cherry picked from commit f410b251fd8a30360f2b9969957dae3ab6ee5bd8) --- 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")