aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoi Martin2025-07-02 14:59:07 +0200
committerEli Zaretskii2025-07-05 12:08:21 +0300
commit8e49ced04c1941f9f8df6613013a135e1039ce3c (patch)
tree7a650f2fa0615dcef0687819447eea4f1b046cc2
parentcbd4616ae2f876251411ec4217d4ee0b300c401d (diff)
downloademacs-8e49ced04c1941f9f8df6613013a135e1039ce3c.tar.gz
emacs-8e49ced04c1941f9f8df6613013a135e1039ce3c.zip
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)
-rw-r--r--etc/NEWS14
1 files changed, 13 insertions, 1 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 8b36023078b..acb6e04f9cd 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -624,7 +624,10 @@ The new command 'fill-paragraph-semlf' fills a paragraph of text using
624"semantic linefeeds", whereby a newline is inserted after every 624"semantic linefeeds", whereby a newline is inserted after every
625sentence. The new command 'fill-region-as-paragraph-semlf' fills a 625sentence. The new command 'fill-region-as-paragraph-semlf' fills a
626region of text using semantic linefeeds as if the region were a single 626region of text using semantic linefeeds as if the region were a single
627paragraph. 627paragraph. You can set the variable 'fill-region-as-paragraph-function'
628to the value 'fill-region-as-paragraph-semlf' to enable functions like
629'fill-paragraph' and 'fill-region' to fill text using "semantic
630linefeeds".
628 631
629+++ 632+++
630** 'C-u C-x .' clears the fill prefix. 633** '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
2306of a format string and a boolean. Alternatively, a sorting function can 2309of a format string and a boolean. Alternatively, a sorting function can
2307be provided directly. 2310be provided directly.
2308 2311
2312** Fill
2313
2314+++
2315*** New variable 'fill-region-as-paragraph-function'.
2316The new variable 'fill-region-as-paragraph-function' provides a way to
2317override how functions like 'fill-paragraph' and 'fill-region' fill
2318text. Major modes can bind this variable to a function that fits their
2319needs. It defaults to 'fill-region-as-paragraph-default'.
2320
2309--- 2321---
2310** 'report-emacs-bug' now checks whether the bug report is about Org. 2322** 'report-emacs-bug' now checks whether the bug report is about Org.
2311The command 'report-emacs-bug' looks in the report text for symbols that 2323The command 'report-emacs-bug' looks in the report text for symbols that