diff options
| author | Štěpán Němec | 2019-08-29 19:42:21 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2020-02-28 15:17:44 +0200 |
| commit | 696ee02c3a40cf0e19f963cfaf8004ca42f7e897 (patch) | |
| tree | fab4a55b8164a7018591ea5697fa2d0cf88bf927 | |
| parent | d096bab78750634301ff3c168e9bbbe9b52575d5 (diff) | |
| download | emacs-696ee02c3a40cf0e19f963cfaf8004ca42f7e897.tar.gz emacs-696ee02c3a40cf0e19f963cfaf8004ca42f7e897.zip | |
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.el | 2 |
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." | |||
| 2073 | ;; piece of an abbreviation | 2073 | ;; piece of an abbreviation |
| 2074 | ;; FIXME etc | 2074 | ;; FIXME etc |
| 2075 | (looking-at | 2075 | (looking-at |
| 2076 | "\\([a-zA-Z]\\|[iI]\\.?e\\|[eE]\\.?g\\)\\.")) | 2076 | "\\([a-zA-Z]\\|[iI]\\.?e\\|[eE]\\.?g\\|[cC]f\\)\\.")) |
| 2077 | (error t)))) | 2077 | (error t)))) |
| 2078 | (if (checkdoc-autofix-ask-replace | 2078 | (if (checkdoc-autofix-ask-replace |
| 2079 | b e | 2079 | b e |