1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

Amend Electric Pair mode documentation

* doc/emacs/programs.texi (Matching): Restore to the documentation
of Electric Pair mode the description of the use of a prefix
argument, which was overwritten by merging changes from the
emacs-30 branch, and clarify the usage.
This commit is contained in:
Stephen Berman 2025-05-18 09:39:02 +02:00
parent 38789e9a28
commit 913b4e1c97

View file

@ -1086,6 +1086,11 @@ delimiters, leaving point after the delimiter you typed (this
facilitates continuing to type either before the text following the
opening delimiter or after the closing delimiter).
If you provide a prefix argument when inserting an opening
delimiter---and if the region is active, also when inserting a closing
delimiter---this results in the insertion of as many nested pairs of
matching delimiters as the numeric value of that prefix argument.
There are several user options for modifying the behavior of Electric
Pair mode: