emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master b12b278: checkdoc: Add abbreviation and simplify


From: Stefan Kangas
Subject: master b12b278: checkdoc: Add abbreviation and simplify
Date: Thu, 23 Sep 2021 17:00:12 -0400 (EDT)

branch: master
commit b12b278c2aeda4fd0d9984d319ead609117f14f4
Author: Stefan Kangas <stefan@marxist.se>
Commit: Stefan Kangas <stefan@marxist.se>

    checkdoc: Add abbreviation and simplify
    
    * lisp/emacs-lisp/checkdoc.el (checkdoc-in-abbreviation-p): Add
    abbreviation "a.k.a.".  Simplify.
---
 lisp/emacs-lisp/checkdoc.el | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/lisp/emacs-lisp/checkdoc.el b/lisp/emacs-lisp/checkdoc.el
index 4243e82..cae65eb 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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]