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.
This commit is contained in:
parent
aaf39c3878
commit
6938a2ddd2
3 changed files with 9 additions and 1 deletions
|
@ -1705,7 +1705,7 @@ URLs."
|
|||
(+ " " (or
|
||||
;; Arguments.
|
||||
(+ (or (syntax symbol)
|
||||
(any word "-/:[]&=().?^\\#'")))
|
||||
(any word "-/:[]&=()<>.,?^\\#*'\"")))
|
||||
;; Argument that is a list.
|
||||
(seq "(" (* (not ")")) ")")))
|
||||
")")))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue