]> git.eshelyaron.com Git - emacs.git/commit
Avoid false positives about wide docstrings for key sequences
authorStefan Kangas <stefan@marxist.se>
Mon, 22 Nov 2021 07:08:11 +0000 (08:08 +0100)
committerStefan Kangas <stefan@marxist.se>
Mon, 22 Nov 2021 11:04:19 +0000 (12:04 +0100)
commite91f71676c19127dd90efabfc0da36483aa53a82
tree832dfd92cf35d5f695d9ecb2c47500fa4d9757b0
parent61c254cafc9caa3b52553fa0e7cca8a5086c5cea
Avoid false positives about wide docstrings for key sequences

* lisp/emacs-lisp/bytecomp.el (byte-compile--wide-docstring-p):
Ignore literal key sequence substitutions.
* test/lisp/emacs-lisp/bytecomp-resources/warn-wide-docstring-ignore-substitutions.el:
New file.
* test/lisp/emacs-lisp/bytecomp-tests.el
("warn-wide-docstring-ignore-substitutions.el"): New test.
lisp/emacs-lisp/bytecomp.el
test/lisp/emacs-lisp/bytecomp-resources/warn-wide-docstring-ignore-substitutions.el [new file with mode: 0644]
test/lisp/emacs-lisp/bytecomp-tests.el