GNU bug report logs - #78816
[PATCH] Add variable `fill-region-as-paragraph-function'

Previous Next

Package: emacs;

Reported by: Roi Martin <jroi.martin <at> gmail.com>

Date: Tue, 17 Jun 2025 10:53:01 UTC

Severity: normal

Tags: patch

Full log


View this message in rfc822 format

From: Roi Martin <jroi.martin <at> gmail.com>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: eliz <at> gnu.org, Marcin Borkowski <mbork <at> mbork.pl>, 78816 <at> debbugs.gnu.org, juri <at> linkov.net
Subject: bug#78816: [PATCH] Add variable `fill-region-as-paragraph-function'
Date: Wed, 18 Jun 2025 01:34:26 +0200
[Message part 1 (text/plain, inline)]
Stefan Monnier <monnier <at> iro.umontreal.ca> writes:

> I think I'd leave this alone and instead do
>
>     (defun fill-region-as-paragraph (&rest args)
>       (apply fill-region-as-paragraph-function args))
>
> and rename `fill-region-as-paragraph` as `fill-region-as-paragraph-default`.

Done.  However, I kept the parameters and the doc string in
`fill-region-as-paragraph', so almost nothing changed from the user
perspective.

Thanks for the review!  I've attached a new version of the patch.

       Roi

[0001-Add-variable-fill-region-as-paragraph-function.patch (text/x-patch, attachment)]

This bug report was last modified 1 day ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.