]> git.eshelyaron.com Git - emacs.git/commit
Accept more wide function signatures in docstrings
authorStefan Kangas <stefankangas@gmail.com>
Fri, 16 Sep 2022 20:24:20 +0000 (22:24 +0200)
committerStefan Kangas <stefankangas@gmail.com>
Fri, 16 Sep 2022 20:28:46 +0000 (22:28 +0200)
commit6938a2ddd2d9861a0f04e79d05ba976bdf91cc8c
treef9127391fe41200867cf71ca3aa7f057d8831ad3
parentaaf39c38784198353b61bf6086f48a689b199f0d
Accept more wide function signatures in docstrings

* test/lisp/emacs-lisp/bytecomp-tests.el
("warn-wide-docstring-ignore-function-signature.el"): New test.
* lisp/emacs-lisp/bytecomp.el (byte-compile--wide-docstring-p):
Make regexp more allowing to silence warning.
* test/lisp/emacs-lisp/bytecomp-resources/warn-wide-docstring-ignore-function-signature.el:
New file.
lisp/emacs-lisp/bytecomp.el
test/lisp/emacs-lisp/bytecomp-resources/warn-wide-docstring-ignore-function-signature.el [new file with mode: 0644]
test/lisp/emacs-lisp/bytecomp-tests.el