]> git.eshelyaron.com Git - emacs.git/commit
Fix automatic filling of docstring in cl-defstruct
authorStefan Kangas <stefan@marxist.se>
Mon, 27 Sep 2021 09:26:31 +0000 (11:26 +0200)
committerStefan Kangas <stefan@marxist.se>
Mon, 27 Sep 2021 09:47:55 +0000 (11:47 +0200)
commit3d2d7e8ea235a13543ed475836f8f7ea4c88520e
tree59ac0734edf406cc50eff6cbbdd216049d56ca54
parent2403deca2bcffc62ff80e4c90a61fea1ea30a768
Fix automatic filling of docstring in cl-defstruct

* lisp/emacs-lisp/cl-macs.el (cl-defstruct): Fix bug where a paragraph
was filled as if it were a single line, which led to garbled
output in the docstring.  (Bug#50839)

* test/lisp/subr-tests.el
(subr-test-internal--format-docstring-line): New test.
lisp/emacs-lisp/cl-macs.el
test/lisp/subr-tests.el