diff options
author | Stefan Kangas <stefan@marxist.se> | 2021-09-16 19:13:56 +0200 |
---|---|---|
committer | Stefan Kangas <stefan@marxist.se> | 2021-09-17 22:24:12 +0200 |
commit | b6bff3ba7971daad737690d88a3921f1dd190476 (patch) | |
tree | 3193668b29522417eb4566c45f50c534d7d95051 /lisp/widget.el | |
parent | 174430e35186b1554eafe6ab1227ab9697224a56 (diff) | |
download | emacs-b6bff3ba7971daad737690d88a3921f1dd190476.tar.gz emacs-b6bff3ba7971daad737690d88a3921f1dd190476.tar.bz2 emacs-b6bff3ba7971daad737690d88a3921f1dd190476.zip |
checkdoc: 'y-or-n-p' no longer needs space
* lisp/emacs-lisp/checkdoc.el (checkdoc-message-text-engine):
Change 'y-or-n-p' check to accept prompt ending with both "? " or "?",
that is, it no longer needs the space. (Bug#50621)
(checkdoc--fix-y-or-n-p): New helper function.
* test/lisp/emacs-lisp/checkdoc-tests.el (checkdoc-tests-fix-y-or-n-p)
(checkdoc-tests-fix-y-or-n-p/no-change)
(checkdoc-tests-fix-y-or-n-p/with-space): New tests.
Diffstat (limited to 'lisp/widget.el')
0 files changed, 0 insertions, 0 deletions