]> git.eshelyaron.com Git - emacs.git/commit
Improve checkdoc abbreviation handling
authorStefan Kangas <stefan@marxist.se>
Mon, 13 Sep 2021 04:03:44 +0000 (06:03 +0200)
committerStefan Kangas <stefan@marxist.se>
Mon, 13 Sep 2021 04:44:52 +0000 (06:44 +0200)
commit2110973351f01fb5cdf90b705acb58354b608050
treeee22904f63e925a95177e5ce4d11e94671642aad
parentbd601099b9332ef6bae697b23b63ee648d56b667
Improve checkdoc abbreviation handling

* lisp/emacs-lisp/checkdoc.el
(checkdoc-in-abbreviation-p): New helper function.
(checkdoc-sentencespace-region-engine): Fix handling abbreviations
after escaped parenthesis.

* test/lisp/emacs-lisp/checkdoc-tests.el
(checkdoc-tests-in-abbrevation-p)
(checkdoc-tests-in-abbrevation-p/with-parens)
(checkdoc-tests-in-abbrevation-p/with-escaped-parens): New tests.
lisp/emacs-lisp/checkdoc.el
test/lisp/emacs-lisp/checkdoc-tests.el