checkdoc: Add abbreviation and simplify
* lisp/emacs-lisp/checkdoc.el (checkdoc-in-abbreviation-p): Add abbreviation "a.k.a.". Simplify.
This commit is contained in:
parent
cee5bda68d
commit
b12b278c2a
1 changed files with 6 additions and 5 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue