]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
authorStefan Monnier <monnier@iro.umontreal.ca>
Fri, 20 May 2011 18:20:12 +0000 (15:20 -0300)
committerStefan Monnier <monnier@iro.umontreal.ca>
Fri, 20 May 2011 18:20:12 +0000 (15:20 -0300)
Also allow singlespace after single-letter capitals followed by a dot.

lisp/ChangeLog
lisp/emacs-lisp/checkdoc.el

index 652c0d3d2640836b336161e19f8f1c2f522d08b1..05a7d63bb3d53d7046b89456353084d3533fded2 100644 (file)
@@ -1,5 +1,8 @@
 2011-05-20  Stefan Monnier  <monnier@iro.umontreal.ca>
 
+       * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
+       Also allow singlespace after single-letter capitals followed by a dot.
+
        * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
        enabled.  Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
 
index 9880e2918b0e0814cd49d0c2dae4a49b8abb0b1d..aead75668f157f1b9e83170ea7da4b11d54e25c9 100644 (file)
@@ -2046,7 +2046,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-z]\\|[iI]\\.?e\\|[eE]\\.?g\\)\\."))
+                                     "\\([a-zA-Z]\\|[iI]\\.?e\\|[eE]\\.?g\\)\\."))
                                 (error t))))
                   (if (checkdoc-autofix-ask-replace
                        b e