emacs/doc/lispref
Roi Martin 0ac21120cf Update `fill-region-as-paragraph-semlf' to follow fill.el protocols
Update the `fill-region-as-paragraph-semlf' function to follow the
`fill-region-as-paragraph-function' protocol.  This allows us to
reimplement the `fill-paragraph-semlf' function using `fill-paragraph'
and `fill-region-as-paragraph-function'.
* lisp/textmodes/fill.el (fill-region-as-paragraph-semlf): Make this
function compatible with `fill-region-as-paragraph-function'.  Avoid
narrowing.
(fill-paragraph-semlf): Reimplement using `fill-paragraph' and
`fill-region-as-paragraph-function'.
* test/lisp/textmodes/fill-tests.el (fill-test-semlf-fill-region): Add
test.
(fill-test-fill-paragraph-semlf-fill-paragraph-function): Remove test.
(fill-test-fill-paragraph-semlf, fill-test-semlf)
(fill-test-fill-paragraph-semlf-justify, fill-test-semlf-justify)
(fill-test-fill-paragraph-semlf-sentence-end-double-space)
(fill-test-semlf-sentence-end-double-space)
(fill-test-fill-paragraph-semlf-fill-column, fill-test-semlf-fill-column)
(fill-test-fill-paragraph-semlf-punctuation-marks)
(fill-test-semlf-punctuation-marks, fill-test-fill-paragraph-semlf-twice)
(fill-test-semlf-twice, fill-test-fill-paragraph-semlf-fill-prefix)
(fill-test-semlf-fill-prefix)
(fill-test-fill-paragraph-semlf-indented-block)
(fill-test-semlf-indented-block, fill-test-fill-paragraph-semlf-revert)
(fill-test-semlf-revert, fill-test-fill-paragraph-semlf-emacs-lisp-mode)
(fill-test-semlf-emacs-lisp-mode, fill-test-fill-paragraph-semlf-c-mode)
(fill-test-semlf-c-mode, fill-test-fill-paragraph-semlf-org-mode)
(fill-test-semlf-org-mode, fill-test-fill-paragraph-semlf-markdown-mode)
(fill-test-semlf-markdown-mode): User shorter function names consistent
with erts file names.
* test/lisp/textmodes/fill-resources/semlf-fill-region.erts: Add test
data.
* test/lisp/textmodes/fill-resources/semlf-fill-paragraph-function.erts:
Delete file.
* test/lisp/textmodes/fill-resources/semlf-emacs-lisp-mode.erts: Remove
newlines around indented block.
* doc/lispref/text.texi (Filling): Highlight that
`fill-region-as-paragraph-function' changes the behavior of
`fill-paragraph'.
2025-06-30 17:33:43 -04:00
..
abbrevs.texi Update copyright year to 2025 2025-01-02 18:39:42 +01:00
anti.texi Update copyright year to 2025 2025-01-02 18:39:42 +01:00
back.texi Update copyright year to 2025 2025-01-02 18:39:42 +01:00
backups.texi Add inhibit-auto-revert macro 2025-02-04 14:09:52 +01:00
book-spine.texi
buffers.texi Move documentation of this-command buffer display condition entry 2025-05-02 12:49:35 +08:00
ChangeLog.1 ; Delete troff markers from ChangeLog files 2025-02-20 02:46:43 +01:00
commands.texi Merge from origin/emacs-30 2025-03-24 10:41:45 +08:00
compile.texi ; Grammar fixes for "native-compiled" 2025-02-28 20:20:55 +01:00
control.texi Add static-when, static-unless like static-if 2025-03-07 22:22:30 -08:00
customize.texi ; Fix cross-references in Texinfo manuals 2025-01-19 08:23:23 +02:00
debugging.texi Update copyright year to 2025 2025-01-02 18:39:42 +01:00
display.texi Clean up text properties in 'visual-wrap-prefix-mode' 2025-06-10 22:09:26 -07:00
doclicense.texi
edebug.texi (lexical-binding): Allow changing the default value (bug#74145) 2025-02-18 15:37:50 -05:00
elisp.texi Further amendments of child frame handling and documentation 2025-03-26 09:04:49 +01:00
elisp_type_hierarchy.jpg Run admin/syncdoc-type-hierarchy.el 2024-04-23 15:39:28 +02:00
elisp_type_hierarchy.txt Run admin/syncdoc-type-hierarchy.el 2024-04-23 15:39:28 +02:00
errors.texi Update copyright year to 2025 2025-01-02 18:39:42 +01:00
eval.texi Update copyright year to 2025 2025-01-02 18:39:42 +01:00
files.texi Improve documentation of 'file-name-concat' 2025-02-06 10:42:04 +02:00
frames.texi Have 'delete-frame' delete initial daemon frame only if FORCE is non-nil 2025-05-29 11:33:28 +02:00
functions.texi * doc/lispref/functions.texi (Closures): Rewrite outdated text. 2025-06-17 17:51:49 +02:00
gpl.texi
hash.texi New function 'hash-table-contains-p' 2025-03-29 14:59:36 +01:00
help.texi Lisp Reference Manual: Index standard symbol properties. 2025-01-12 20:16:00 -08:00
hooks.texi Update copyright year to 2025 2025-01-02 18:39:42 +01:00
index.texi
internals.texi Don't overwrite non-local exit symbol and data (Bug#65796). 2025-02-28 01:45:35 +01:00
intro.texi Update copyright year to 2025 2025-01-02 18:39:42 +01:00
keymaps.texi Merge from savannah/emacs-30 2025-03-16 20:14:48 +08:00
lay-flat.texi Update copyright year to 2025 2025-01-02 18:39:42 +01:00
lists.texi Avoid double spaces around abbrevations in Texinfo 2025-01-24 23:10:23 +01:00
loading.texi ; Fix documentation of a recent commit 2025-05-24 10:23:11 +03:00
macros.texi Update copyright year to 2025 2025-01-02 18:39:42 +01:00
Makefile.in Update copyright year to 2025 2025-01-02 18:39:42 +01:00
maps.texi Update copyright year to 2025 2025-01-02 18:39:42 +01:00
markers.texi Update copyright year to 2025 2025-01-02 18:39:42 +01:00
minibuf.texi ; Fix last change. 2025-06-08 21:58:18 +02:00
modes.texi Merge from origin/emacs-30 2025-06-14 11:23:54 -04:00
nonascii.texi Fix the values and documentation of 'printable-chars' table 2025-02-28 16:22:30 +02:00
numbers.texi Merge from origin/emacs-30 2025-03-01 09:59:08 -05:00
objects.texi ; Improve type specifier documentation 2025-03-25 23:44:01 +01:00
os.texi Load site-start.el before early-init.el 2025-06-24 17:33:39 +01:00
package.texi ; Don't document package-x.el 2025-03-02 05:09:37 +01:00
parsing.texi Add new tactic to treesit-navigate-thing (bug#78703) 2025-06-09 21:43:27 -07:00
peg.texi peg.texi: Fix bug#76555 even a bit more 2025-03-27 08:59:33 -04:00
positions.texi Update copyright year to 2025 2025-01-02 18:39:42 +01:00
processes.texi Remove ctags program 2025-03-22 11:57:29 -07:00
README Update copyright year to 2025 2025-01-02 18:39:42 +01:00
records.texi Update copyright year to 2025 2025-01-02 18:39:42 +01:00
searching.texi Merge from origin/emacs-30 2025-05-31 08:29:51 -04:00
sequences.texi Lisp Reference Manual: Index standard symbol properties. 2025-01-12 20:16:00 -08:00
spellfile Make 'purecopy' an obsolete function alias for 'identity' 2024-12-12 22:48:21 +01:00
streams.texi Update copyright year to 2025 2025-01-02 18:39:42 +01:00
strings.texi Fix clear-string crash with text properties 2025-01-15 23:16:19 +01:00
symbols.texi Merge from origin/emacs-30 2025-02-01 07:40:19 -05:00
syntax.texi Avoid double spaces around abbrevations in Texinfo 2025-01-24 23:10:23 +01:00
text.texi Update `fill-region-as-paragraph-semlf' to follow fill.el protocols 2025-06-30 17:33:43 -04:00
threads.texi Update copyright year to 2025 2025-01-02 18:39:42 +01:00
tips.texi Merge from origin/emacs-30 2025-05-10 07:40:30 -04:00
two-volume-cross-refs.txt Update copyright year to 2025 2025-01-02 18:39:42 +01:00
two-volume.make Update copyright year to 2025 2025-01-02 18:39:42 +01:00
variables.texi Merge from origin/emacs-30 2025-05-17 06:52:01 -04:00
windows.texi Move documentation of this-command buffer display condition entry 2025-05-02 12:49:35 +08:00

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Copyright (C) 2001-2025 Free Software Foundation, Inc.  -*- outline -*-
See the end of the file for license conditions.


README for the Emacs Lisp Reference Manual.

* This directory contains the texinfo source files for the Emacs Lisp
Reference Manual.

* Report bugs in the Lisp Manual (or in Emacs) using M-x report-emacs-bug.
To ask questions, use the help-gnu-emacs mailing list.

* The Emacs Lisp Reference Manual is quite large.  It totals around
1100 pages in smallbook format; the info files total around 3.0 megabytes.

* You can format this manual for Info, for printing hardcopy using TeX,
or for HTML.

* You can buy nicely printed copies from the Free Software Foundation.
Buying a manual from the Free Software Foundation helps support our GNU
development work.  See <https://shop.fsf.org/>.
(At time of writing, this manual is out of print.)

* The master file for formatting this manual for Tex is called 'elisp.texi'.
It contains @include commands to include all the chapters that make up
the manual.

* This distribution contains a Makefile that you can use with GNU Make.

** To make an Info file, you need to install Texinfo, then run 'make info'.

** Use 'make elisp.pdf' or 'make elisp.html' to create PDF or HTML versions.


This file is part of GNU Emacs.

GNU Emacs is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

GNU Emacs is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with GNU Emacs.  If not, see <https://www.gnu.org/licenses/>.