[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#60360: 30.0.50; prog-fill-reindent-defun doesn't use region
From: |
Theodor Thornhill |
Subject: |
bug#60360: 30.0.50; prog-fill-reindent-defun doesn't use region |
Date: |
Tue, 27 Dec 2022 22:01:28 +0100 |
Hi, Juri!
> X-Debbugs-CC: Theodor Thornhill <theo@thornhill.no>
>
> After selecting the region in a docstring, M-q used to fill the region,
> but new prog-fill-reindent-defun doesn't do this. The original
> function had the argument REGION for that, described thusly:
>
> The REGION argument is non-nil if called interactively; in that
> case, if Transient Mark mode is enabled and the mark is active,
> call ‘fill-region’ to fill each of the paragraphs in the active
> region, instead of just filling the current paragraph.
Thanks, does the below patch solve your problem? If so, feel free to
install it, as I can't :-)
Theo
0001-Fixes-in-prog-fill-reindent-defun.patch
Description: Text Data