summaryrefslogtreecommitdiff
path: root/doc/emacs/programs.texi
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2018-02-20 07:50:29 -0800
committerGlenn Morris <rgm@gnu.org>2018-02-20 07:50:29 -0800
commit650febcd3ec1cfe0c686414c9c8f1a7caaeefe71 (patch)
tree534fc96cc86b769db3e2124b347b7be5e155d94d /doc/emacs/programs.texi
parent3d42272754db914d4f2dbbcfba5ce6776a7b232b (diff)
parent226aca32a784c4edebdec6a16eb90930aae64c06 (diff)
downloademacs-650febcd3ec1cfe0c686414c9c8f1a7caaeefe71.tar.gz
emacs-650febcd3ec1cfe0c686414c9c8f1a7caaeefe71.tar.bz2
emacs-650febcd3ec1cfe0c686414c9c8f1a7caaeefe71.zip
Merge from origin/emacs-26
226aca3 (origin/emacs-26) Fix documentation of 'flyspell-auto-correct... a8c8434 * doc/emacs/misc.texi (Saving Emacs Sessions): Fix markup. 275e735 More changes in the Emacs manuals d962be5 More fixes in the Emacs manual 6dc2846 * src/data.c (Faref): Fix a typo in the doc string. (Bug#30510) 36e729f Minor edit in tramp.texi 6537f99 ; Fix oversight from last commit eb94588 ; * doc/emacs/maintaining.texi: Fix two typos. 258135f More improvements in the Emacs manual f138bca Improve documentation of 'electric-pair-mode' f74ab96 ; Spelling and grammar fixes. 42f9dc4 ; * lisp/textmodes/flyspell.el (flyspell-auto-correct-word): ...
Diffstat (limited to 'doc/emacs/programs.texi')
-rw-r--r--doc/emacs/programs.texi17
1 files changed, 11 insertions, 6 deletions
diff --git a/doc/emacs/programs.texi b/doc/emacs/programs.texi
index 4a59f4307ed..042a197f9b7 100644
--- a/doc/emacs/programs.texi
+++ b/doc/emacs/programs.texi
@@ -843,12 +843,17 @@ or the last, non-whitespace position on the line.
@cindex inserting matching parentheses
@findex electric-pair-mode
Electric Pair mode, a global minor mode, provides a way to easily
-insert matching delimiters. Whenever you insert an opening delimiter,
-the matching closing delimiter is automatically inserted as well,
-leaving point between the two. Conversely, when you insert a closing
-delimiter over an existing one, no inserting takes places and that
-position is simply skipped over. These variables control additional
-features of Electric Pair mode:
+insert matching delimiters: parentheses, braces, brackets, etc.
+Whenever you insert an opening delimiter, the matching closing
+delimiter is automatically inserted as well, leaving point between the
+two. Conversely, when you insert a closing delimiter over an existing
+one, no insertion takes places, and that position is simply skipped
+over. If the region is active (@pxref{Mark}), insertion of a
+delimiter operates on the region: the characters in the region are
+enclosed in a pair of matching delimiters, leaving point after the
+delimiter you typed.
+
+These variables control additional features of Electric Pair mode:
@itemize @bullet
@item