summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorŠtěpán Němec <stepnem@gmail.com>2019-08-29 19:42:21 +0200
committerEli Zaretskii <eliz@gnu.org>2020-02-28 15:17:44 +0200
commit696ee02c3a40cf0e19f963cfaf8004ca42f7e897 (patch)
treefab4a55b8164a7018591ea5697fa2d0cf88bf927
parentd096bab78750634301ff3c168e9bbbe9b52575d5 (diff)
downloademacs-696ee02c3a40cf0e19f963cfaf8004ca42f7e897.tar.gz
checkdoc: Don't mistake "cf." for sentence end
* lisp/emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine): Recognize "cf." as an abbreviation, not a sentence end.
-rw-r--r--lisp/emacs-lisp/checkdoc.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/checkdoc.el b/lisp/emacs-lisp/checkdoc.el
index ccdddb47c35..e15836ee7d8 100644
--- a/lisp/emacs-lisp/checkdoc.el
+++ b/lisp/emacs-lisp/checkdoc.el
@@ -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