Commit 696ee02c authored by Štěpán Němec's avatar Štěpán Němec Committed by Eli Zaretskii

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.
parent d096bab7
Pipeline #4889 failed with stage
in 54 minutes and 58 seconds
...@@ -2073,7 +2073,7 @@ If the offending word is in a piece of quoted text, then it is skipped." ...@@ -2073,7 +2073,7 @@ If the offending word is in a piece of quoted text, then it is skipped."
;; piece of an abbreviation ;; piece of an abbreviation
;; FIXME etc ;; FIXME etc
(looking-at (looking-at
"\\([a-zA-Z]\\|[iI]\\.?e\\|[eE]\\.?g\\)\\.")) "\\([a-zA-Z]\\|[iI]\\.?e\\|[eE]\\.?g\\|[cC]f\\)\\."))
(error t)))) (error t))))
(if (checkdoc-autofix-ask-replace (if (checkdoc-autofix-ask-replace
b e b e
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment