]> git.eshelyaron.com Git - emacs.git/commit
Shorten docstrings generated by cl-defsubst
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)
commitf045750fa5e94659e96bab85d1d05ddf65a4c557
tree06325a9095a0cf20678048d944194033a3ebb05f
parentd436c559a4fa7154802f4c898630266a3ff6efa9
Shorten docstrings generated by cl-defsubst

* lisp/emacs-lisp/cl-macs.el (cl-defsubst): Split the first line of
the docstring into 2 lines if the function name is very long.
Additionally, remove the word "inlining" in the generated docstring as
it is not very useful and increases the likelihood of "docstring wider
than 80 characters" errors.  (Bug#65790)
lisp/emacs-lisp/cl-macs.el
test/lisp/emacs-lisp/bytecomp-tests.el