summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorStefan Kangas <stefankangas@gmail.com>2022-09-16 22:24:20 +0200
committerStefan Kangas <stefankangas@gmail.com>2022-09-16 22:28:46 +0200
commit6938a2ddd2d9861a0f04e79d05ba976bdf91cc8c (patch)
treef9127391fe41200867cf71ca3aa7f057d8831ad3 /lisp/emacs-lisp
parentaaf39c38784198353b61bf6086f48a689b199f0d (diff)
downloademacs-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.el2
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 ")")) ")")))
")")))