diff options
author | Stefan Kangas <stefankangas@gmail.com> | 2022-09-16 22:24:20 +0200 |
---|---|---|
committer | Stefan Kangas <stefankangas@gmail.com> | 2022-09-16 22:28:46 +0200 |
commit | 6938a2ddd2d9861a0f04e79d05ba976bdf91cc8c (patch) | |
tree | f9127391fe41200867cf71ca3aa7f057d8831ad3 /test/lisp/emacs-lisp/bytecomp-tests.el | |
parent | aaf39c38784198353b61bf6086f48a689b199f0d (diff) | |
download | emacs-6938a2ddd2d9861a0f04e79d05ba976bdf91cc8c.tar.gz emacs-6938a2ddd2d9861a0f04e79d05ba976bdf91cc8c.tar.bz2 emacs-6938a2ddd2d9861a0f04e79d05ba976bdf91cc8c.zip |
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.
Diffstat (limited to 'test/lisp/emacs-lisp/bytecomp-tests.el')
-rw-r--r-- | test/lisp/emacs-lisp/bytecomp-tests.el | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/lisp/emacs-lisp/bytecomp-tests.el b/test/lisp/emacs-lisp/bytecomp-tests.el index bc9f8d802a6..1ca44dc7a48 100644 --- a/test/lisp/emacs-lisp/bytecomp-tests.el +++ b/test/lisp/emacs-lisp/bytecomp-tests.el @@ -1007,6 +1007,10 @@ byte-compiled. Run with dynamic binding." "defvar .foo-bar. docstring wider than .* characters" 'reverse) (bytecomp--define-warning-file-test + "warn-wide-docstring-ignore-function-signature.el" + "defvar .foo-bar. docstring wider than .* characters" 'reverse) + +(bytecomp--define-warning-file-test "warn-wide-docstring-ignore-override.el" "defvar .foo-bar. docstring wider than .* characters" 'reverse) |