From: Stefan Kangas Date: Thu, 23 Sep 2021 20:58:12 +0000 (+0200) Subject: checkdoc: Add abbreviation and simplify X-Git-Tag: emacs-28.0.90~702 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=b12b278c2aeda4fd0d9984d319ead609117f14f4;p=emacs.git checkdoc: Add abbreviation and simplify * lisp/emacs-lisp/checkdoc.el (checkdoc-in-abbreviation-p): Add abbreviation "a.k.a.". Simplify. --- diff --git a/lisp/emacs-lisp/checkdoc.el b/lisp/emacs-lisp/checkdoc.el index 4243e828001..cae65eba8ea 100644 --- a/lisp/emacs-lisp/checkdoc.el +++ b/lisp/emacs-lisp/checkdoc.el @@ -2113,11 +2113,12 @@ Examples of abbreviations handled: \"e.g.\", \"i.e.\", \"cf.\"." (rx letter ".") (rx (or ;; The abbreviations: - (seq (or (seq (any "cC") "f") ; cf. - (seq (any "eE") ".g") ; e.g. - (seq (any "iI") "." (any "eE")))) ; i.e. - "etc" ; etc. - "vs" ; vs. + (seq (any "cC") "f") ; cf. + (seq (any "eE") ".g") ; e.g. + (seq (any "iI") "." (any "eE")) ; i.e. + "a.k.a" ; a.k.a. + "etc" ; etc. + "vs" ; vs. ;; Some non-standard or less common ones that we ;; might as well ignore. "Inc" "Univ" "misc" "resp")