]> git.eshelyaron.com Git - emacs.git/commitdiff
checkdoc: Don't mistake "cf." for sentence end
authorŠtěpán Němec <stepnem@gmail.com>
Thu, 29 Aug 2019 17:42:21 +0000 (19:42 +0200)
committerEli Zaretskii <eliz@gnu.org>
Fri, 28 Feb 2020 13:17:44 +0000 (15:17 +0200)
* lisp/emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
Recognize "cf." as an abbreviation, not a sentence end.

lisp/emacs-lisp/checkdoc.el

index ccdddb47c3545c9a91bbda2b10d7e55dd57f9ee3..e15836ee7d809b6ef9693323f024a5ab1739fca8 100644 (file)
@@ -2073,7 +2073,7 @@ If the offending word is in a piece of quoted text, then it is skipped."
                                     ;; piece of an abbreviation
                                     ;; FIXME etc
                                     (looking-at
-                                     "\\([a-zA-Z]\\|[iI]\\.?e\\|[eE]\\.?g\\)\\."))
+                                     "\\([a-zA-Z]\\|[iI]\\.?e\\|[eE]\\.?g\\|[cC]f\\)\\."))
                                 (error t))))
                   (if (checkdoc-autofix-ask-replace
                        b e