emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-27 696ee02: checkdoc: Don't mistake "cf." for sentence end


From: Eli Zaretskii
Subject: emacs-27 696ee02: checkdoc: Don't mistake "cf." for sentence end
Date: Fri, 28 Feb 2020 08:19:34 -0500 (EST)

branch: emacs-27
commit 696ee02c3a40cf0e19f963cfaf8004ca42f7e897
Author: Štěpán Němec <address@hidden>
Commit: Eli Zaretskii <address@hidden>

    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.
---
 lisp/emacs-lisp/checkdoc.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/emacs-lisp/checkdoc.el b/lisp/emacs-lisp/checkdoc.el
index ccdddb4..e15836e 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]