]> git.eshelyaron.com Git - emacs.git/commit
Warn about overly long docstring in lambda
authorStefan Kangas <stefan@marxist.se>
Fri, 24 Sep 2021 17:10:46 +0000 (19:10 +0200)
committerStefan Kangas <stefan@marxist.se>
Sun, 26 Sep 2021 11:33:29 +0000 (13:33 +0200)
commitc51b1c02db636ac66402432ed9416f80a4a9b2b5
tree94283521d4e6dde1e51aa6442c6cd3c9b2e8390a
parent89bac05aaaf5d8cf0c54382d4150cfad35e04f3c
Warn about overly long docstring in lambda

* lisp/emacs-lisp/bytecomp.el
(byte-compile-docstring-length-warn): Warn about overly long
docstring in lambda.  (Bug#44858)

(byte-compile--wide-docstring-p): Improve comment.
* test/lisp/emacs-lisp/bytecomp-tests.el
("warn-wide-docstring-defun.el"): Update to test for the above new
warning.
lisp/emacs-lisp/bytecomp.el
test/lisp/emacs-lisp/bytecomp-tests.el