]> git.eshelyaron.com Git - emacs.git/commit
checkdoc: Allow Lisp symbols to start a message
authorStefan Kangas <stefan@marxist.se>
Sat, 25 Sep 2021 23:20:55 +0000 (01:20 +0200)
committerStefan Kangas <stefan@marxist.se>
Mon, 27 Sep 2021 23:12:36 +0000 (01:12 +0200)
commit3cabf64131b93e1b0510a01bcce8efde38b20bc4
tree5f4cc8d403d690e614f799214df31ff58ac6b6bc
parent6bec21243d20df015875ee8576bc722224480acb
checkdoc: Allow Lisp symbols to start a message

* lisp/emacs-lisp/checkdoc.el (checkdoc-message-text-engine): Allow
Lisp symbols to start a message.
(checkdoc--error-bad-format-p): New helper function.

* test/lisp/emacs-lisp/checkdoc-tests.el
(checkdoc-test-error-format-is-good)
(checkdoc-test-error-format-is-bad): New helper functions.
(checkdoc-tests-error-message-bad-format-p)
(checkdoc-tests-error-message-bad-format-p/defined-symbols)
(checkdoc-tests-error-message-bad-format-p/not-capitalized):
New tests.
lisp/emacs-lisp/checkdoc.el
test/lisp/emacs-lisp/checkdoc-tests.el