diff options
author | Stefan Kangas <stefan@marxist.se> | 2021-11-05 22:31:42 +0100 |
---|---|---|
committer | Stefan Kangas <stefan@marxist.se> | 2021-11-05 22:31:42 +0100 |
commit | 1eaee319ea351f8ce9eee370d5041ab0307a9624 (patch) | |
tree | f59019af37b10252e4974f77e911dfb5c8797cdb /lisp/emacs-lisp | |
parent | 49a6b26cf7b9ed91c319b9cf215d347e1f9f155a (diff) | |
download | emacs-1eaee319ea351f8ce9eee370d5041ab0307a9624.tar.gz emacs-1eaee319ea351f8ce9eee370d5041ab0307a9624.tar.bz2 emacs-1eaee319ea351f8ce9eee370d5041ab0307a9624.zip |
Add "N.B." abbreviation to checkdoc
* lisp/emacs-lisp/checkdoc.el (checkdoc-in-abbreviation-p): Add
abbreviation "N.B.".
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r-- | lisp/emacs-lisp/checkdoc.el | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lisp/emacs-lisp/checkdoc.el b/lisp/emacs-lisp/checkdoc.el index 1ed210215a1..7bb82c2e8bf 100644 --- a/lisp/emacs-lisp/checkdoc.el +++ b/lisp/emacs-lisp/checkdoc.el @@ -2129,13 +2129,11 @@ Examples of recognized abbreviations: \"e.g.\", \"i.e.\", \"cf.\"." ;; a part of a list. (rx letter ".") (rx (or - ;; The abbreviations: + ;; The abbreviations (a trailing dot is added below). (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. + "a.k.a" "etc" "vs" "N.B" ;; Some non-standard or less common ones that we ;; might as well accept. "Inc" "Univ" "misc" "resp") |