]> git.eshelyaron.com Git - emacs.git/commit
Shorten docstrings generated by cl-defstruct
authorDamien Cassou <damien@cassou.me>
Tue, 12 Sep 2023 06:28:37 +0000 (08:28 +0200)
committerStefan Kangas <stefankangas@gmail.com>
Wed, 13 Sep 2023 14:34:45 +0000 (16:34 +0200)
commit1f7113e68988fa0bcbdeca5ae364cba8d6db3637
tree5b71e005c00ba9dae01448ae7e69d4f04780dbb7
parentf045750fa5e94659e96bab85d1d05ddf65a4c557
Shorten docstrings generated by cl-defstruct

* lisp/emacs-lisp/cl-macs.el (cl-defstruct): Split the first line of
generated docstrings if either the struct name or a field name is very
long.  This reduces the likelihood of "docstring wider than 80
characters" errors.  (Bug#65790)
lisp/emacs-lisp/cl-macs.el
test/lisp/emacs-lisp/bytecomp-tests.el