]> git.eshelyaron.com Git - emacs.git/commit
checkdoc: Avoid false positive for keybinding in docstring
authorStefan Kangas <stefankangas@gmail.com>
Sun, 24 Dec 2023 13:27:48 +0000 (14:27 +0100)
committerStefan Kangas <stefankangas@gmail.com>
Sun, 24 Dec 2023 13:27:48 +0000 (14:27 +0100)
commit13e46e2c1d33a3a48ecdcb56b745dbc53a4a3831
treec789464ff133bf049610a73f0ad5e1bea23abddb
parent2a1a7a8524c0307c09c91e89816b2b2b8bfb85bc
checkdoc: Avoid false positive for keybinding in docstring

* lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
Avoid false positive when a variable contains a keybinding (for
example, "C-g").  (Bug#68002)
* test/lisp/emacs-lisp/checkdoc-tests.el
(checkdoc-docstring-avoid-false-positive-ok): New test.
lisp/emacs-lisp/checkdoc.el
test/lisp/emacs-lisp/checkdoc-tests.el