diff options
| author | Roi Martin | 2025-07-02 14:59:07 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2025-07-05 12:08:21 +0300 |
| commit | 8e49ced04c1941f9f8df6613013a135e1039ce3c (patch) | |
| tree | 7a650f2fa0615dcef0687819447eea4f1b046cc2 /etc | |
| parent | cbd4616ae2f876251411ec4217d4ee0b300c401d (diff) | |
| download | emacs-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)
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 14 |
1 files changed, 13 insertions, 1 deletions
| @@ -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 |
| 625 | sentence. The new command 'fill-region-as-paragraph-semlf' fills a | 625 | sentence. The new command 'fill-region-as-paragraph-semlf' fills a |
| 626 | region of text using semantic linefeeds as if the region were a single | 626 | region of text using semantic linefeeds as if the region were a single |
| 627 | paragraph. | 627 | paragraph. You can set the variable 'fill-region-as-paragraph-function' |
| 628 | to the value 'fill-region-as-paragraph-semlf' to enable functions like | ||
| 629 | 'fill-paragraph' and 'fill-region' to fill text using "semantic | ||
| 630 | linefeeds". | ||
| 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 | |||
| 2306 | of a format string and a boolean. Alternatively, a sorting function can | 2309 | of a format string and a boolean. Alternatively, a sorting function can |
| 2307 | be provided directly. | 2310 | be provided directly. |
| 2308 | 2311 | ||
| 2312 | ** Fill | ||
| 2313 | |||
| 2314 | +++ | ||
| 2315 | *** New variable 'fill-region-as-paragraph-function'. | ||
| 2316 | The new variable 'fill-region-as-paragraph-function' provides a way to | ||
| 2317 | override how functions like 'fill-paragraph' and 'fill-region' fill | ||
| 2318 | text. Major modes can bind this variable to a function that fits their | ||
| 2319 | needs. 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. |
| 2311 | The command 'report-emacs-bug' looks in the report text for symbols that | 2323 | The command 'report-emacs-bug' looks in the report text for symbols that |