bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#28937: 26.0.60; Value after elisp docstring is filled (boundaries on


From: Lars Ingebrigtsen
Subject: bug#28937: 26.0.60; Value after elisp docstring is filled (boundaries on forward-paragraph)
Date: Thu, 04 Feb 2021 16:14:28 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Alex <agrambot@gmail.com> writes:

> Consider:
>
> (defun test ()
>   "This is a test docstring.
> Here is some more text."
>   1
>   2
>   3
>   4
>   5)
>
> In an Emacs Lisp/Lisp Interaction buffer press `M-q' anywhere in the
> docstring to fill the above. Notice that 1 through 5 are all filled with
> the docstring, when none of them should be.

I've now changed this in Emacs 28 to narrow to the string before doing
the filling, which seems to fix this problem, and hopefully shouldn't
have any adverse effects (*cough*).

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

[Prev in Thread] Current Thread [Next in Thread]