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 /lisp/emacs-lisp | |
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 'lisp/emacs-lisp')
-rw-r--r-- | lisp/emacs-lisp/bytecomp.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el index 48929e62bdf..3b3f7bb6190 100644 --- a/lisp/emacs-lisp/bytecomp.el +++ b/lisp/emacs-lisp/bytecomp.el @@ -1705,7 +1705,7 @@ URLs." (+ " " (or ;; Arguments. (+ (or (syntax symbol) - (any word "-/:[]&=().?^\\#'"))) + (any word "-/:[]&=()<>.,?^\\#*'\""))) ;; Argument that is a list. (seq "(" (* (not ")")) ")"))) ")"))) |