1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-06 06:20:55 -08:00
emacs/lisp/textmodes
Roi Martin 99ec286d78 Add variable `fill-region-as-paragraph-function'
Add the variable `fill-region-as-paragraph-function' to provide
a way to override how functions like `fill-region' fill text.
* doc/lispref/text.texi (Filling): Document
`fill-region-as-paragraph-function' variable.
* doc/emacs/text.texi (Fill Commands): Reference
`fill-region-as-paragraph-function' variable.
* lisp/textmodes/fill.el (fill-region-as-paragraph-function):
Add variable.
(fill-region-as-paragraph): Convert into
`fill-region-as-paragraph-function' wrapper.
(fill-region-as-paragraph-default): Rename old
`fill-region-as-paragraph' function.
(fill-region-as-paragraph-semlf): Update calls to
`fill-region-as-paragraph-default'.
(fill-region): Add reference to `fill-region-as-paragraph-function'
in doc string.
* test/lisp/textmodes/fill-tests.el (fill-test-fill-region): Add
test case for the `fill-region' function.
* test/lisp/textmodes/fill-resources/fill-region.erts: Add test
data.  (Bug#78816)
2025-06-29 07:33:24 +03:00
..
artist.el
bib-mode.el
bibtex-style.el
bibtex.el
conf-mode.el
css-mode.el Use keyword :commit with full hashes for treesit-language-source-alist. 2025-06-20 19:58:28 +03:00
dns-mode.el
emacs-authors-mode.el
emacs-news-mode.el
enriched.el
fill.el Add variable `fill-region-as-paragraph-function' 2025-06-29 07:33:24 +03:00
flyspell.el
glyphless-mode.el
html-ts-mode.el Use keyword :commit with full hashes for treesit-language-source-alist. 2025-06-20 19:58:28 +03:00
ispell.el
less-css-mode.el
makeinfo.el
markdown-ts-mode.el Use keyword :commit with full hashes for treesit-language-source-alist. 2025-06-20 19:58:28 +03:00
mhtml-mode.el
mhtml-ts-mode.el New variable 'comment-setup-function' for multi-language modes. 2025-05-05 19:57:29 +03:00
nroff-mode.el
page-ext.el
page.el
paragraphs.el
picture.el
pixel-fill.el
po.el
refbib.el
refer.el
refill.el
reftex-auc.el ; RefTeX: Update author email 2025-05-07 22:08:46 +02:00
reftex-cite.el ; RefTeX: Update author email 2025-05-07 22:08:46 +02:00
reftex-dcr.el ; RefTeX: Update author email 2025-05-07 22:08:46 +02:00
reftex-global.el ; RefTeX: Update author email 2025-05-07 22:08:46 +02:00
reftex-index.el ; RefTeX: Update author email 2025-05-07 22:08:46 +02:00
reftex-parse.el ; RefTeX: Update author email 2025-05-07 22:08:46 +02:00
reftex-ref.el ; RefTeX: Update author email 2025-05-07 22:08:46 +02:00
reftex-sel.el ; RefTeX: Update author email 2025-05-07 22:08:46 +02:00
reftex-toc.el ; RefTeX: Update author email 2025-05-07 22:08:46 +02:00
reftex-vars.el ; RefTeX: Update author email 2025-05-07 22:08:46 +02:00
reftex.el ; * lisp/textmodes/reftex.el: Update author email (bug#77850). 2025-06-24 23:20:39 +02:00
remember.el
rst.el
sgml-mode.el Revert addition of electric-block-comment-mode & follow-up commits 2025-04-22 20:47:56 +08:00
string-edit.el ; Fix compilation warning in string-edit.el 2025-04-26 18:01:42 +03:00
table.el
tex-mode.el
texinfmt.el
texinfo.el
texnfo-upd.el
text-mode.el Merge from origin/emacs-30 2025-04-30 07:14:23 -04:00
tildify.el
toml-ts-mode.el Use keyword :commit with full hashes for treesit-language-source-alist. 2025-06-20 19:58:28 +03:00
two-column.el
underline.el
word-wrap-mode.el
yaml-ts-mode.el Fix yaml-ts-mode comment-start-skip to improve commenting/uncommenting 2025-06-25 21:50:06 +03:00