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.
This commit is contained in:
committed by
Eli Zaretskii
parent
d096bab787
commit
696ee02c3a
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user