]> git.eshelyaron.com Git - emacs.git/commitdiff
checkdoc: Add abbreviation and simplify
authorStefan Kangas <stefan@marxist.se>
Thu, 23 Sep 2021 20:58:12 +0000 (22:58 +0200)
committerStefan Kangas <stefan@marxist.se>
Thu, 23 Sep 2021 20:59:20 +0000 (22:59 +0200)
* lisp/emacs-lisp/checkdoc.el (checkdoc-in-abbreviation-p): Add
abbreviation "a.k.a.".  Simplify.

lisp/emacs-lisp/checkdoc.el

index 4243e82800169bbdf2d703886f2e76a915a1c942..cae65eba8ea5b0e465830891a3b08d592bd04019 100644 (file)
@@ -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")