projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d096bab
)
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)
committer
Eli 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
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/checkdoc.el
b/lisp/emacs-lisp/checkdoc.el
index ccdddb47c3545c9a91bbda2b10d7e55dd57f9ee3..e15836ee7d809b6ef9693323f024a5ab1739fca8 100644
(file)
--- 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