summaryrefslogtreecommitdiff
path: root/doc/emacs
diff options
context:
space:
mode:
authorDmitry Gutov <dgutov@yandex.ru>2021-09-11 05:11:53 +0300
committerDmitry Gutov <dgutov@yandex.ru>2021-09-11 05:12:20 +0300
commitd37dcfa30ff20aa2d5b0d6c2e43ef5930e72e375 (patch)
tree9ecd88bf8297ef36cb868dddd074915635d43f88 /doc/emacs
parent5c18d35acba751b2011d6746cf9c3c781e88db73 (diff)
downloademacs-d37dcfa30ff20aa2d5b0d6c2e43ef5930e72e375.tar.gz
emacs-d37dcfa30ff20aa2d5b0d6c2e43ef5930e72e375.tar.bz2
emacs-d37dcfa30ff20aa2d5b0d6c2e43ef5930e72e375.zip
New minor mode 'show-paren-local-mode'
* lisp/paren.el (show-paren--delete-overlays): New function, extracted from show-paren-mode. (show-paren-local-mode): New minor mode. (show-paren-mode): Update docstring to mention it (bug#29381). * doc/emacs/programs.texi (Matching): Update show-paren-mode section.
Diffstat (limited to 'doc/emacs')
-rw-r--r--doc/emacs/programs.texi3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/emacs/programs.texi b/doc/emacs/programs.texi
index 09216c278b1..522c092c3b3 100644
--- a/doc/emacs/programs.texi
+++ b/doc/emacs/programs.texi
@@ -813,7 +813,8 @@ displayed. The default is 102400.
of automatic matching. Whenever point is before an opening delimiter
or after a closing delimiter, the delimiter, its matching delimiter,
and optionally the text between them are highlighted. To toggle Show
-Paren mode, type @kbd{M-x show-paren-mode}. To customize it, type
+Paren mode, type @kbd{M-x show-paren-mode}. To toggle it in single
+buffer, type @kbd{M-x show-paren-local-mode}. To customize it, type
@kbd{M-x customize-group @key{RET} paren-showing}. The customizable
options which control the operation of this mode include: