1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-30 20:32:00 -08:00

Update NEWS with info about `fill-region-as-paragraph-function'

* etc/NEWS: Add an entry for `fill-region-as-paragraph-function'.
Document that `fill-region-as-paragraph-semlf' is a valid
`fill-region-as-paragraph-function' value.  (Bug#78949)
This commit is contained in:
Roi Martin 2025-07-02 14:59:07 +02:00 committed by Eli Zaretskii
parent cbd4616ae2
commit 8e49ced04c

View file

@ -624,7 +624,10 @@ The new command 'fill-paragraph-semlf' fills a paragraph of text using
"semantic linefeeds", whereby a newline is inserted after every
sentence. The new command 'fill-region-as-paragraph-semlf' fills a
region of text using semantic linefeeds as if the region were a single
paragraph.
paragraph. You can set the variable 'fill-region-as-paragraph-function'
to the value 'fill-region-as-paragraph-semlf' to enable functions like
'fill-paragraph' and 'fill-region' to fill text using "semantic
linefeeds".
+++
** 'C-u C-x .' clears the fill prefix.
@ -2306,6 +2309,15 @@ each refresh. The sort direction can be controlled by using a cons cell
of a format string and a boolean. Alternatively, a sorting function can
be provided directly.
** Fill
+++
*** New variable 'fill-region-as-paragraph-function'.
The new variable 'fill-region-as-paragraph-function' provides a way to
override how functions like 'fill-paragraph' and 'fill-region' fill
text. Major modes can bind this variable to a function that fits their
needs. It defaults to 'fill-region-as-paragraph-default'.
---
** 'report-emacs-bug' now checks whether the bug report is about Org.
The command 'report-emacs-bug' looks in the report text for symbols that