summaryrefslogtreecommitdiff
path: root/lisp/paren.el
diff options
context:
space:
mode:
authorAlan Mackenzie <acm@muc.de>2015-12-16 15:09:55 +0000
committerAlan Mackenzie <acm@muc.de>2015-12-16 15:13:12 +0000
commit6d4ae9d33870c3024845b06cfb2fae2a225a0bbc (patch)
treeb2ec3cdb19fef464604dda78b8a8b41ad7c9ffee /lisp/paren.el
parentc974b2fd4d86712b06138d4ea15a526395686ef9 (diff)
downloademacs-6d4ae9d33870c3024845b06cfb2fae2a225a0bbc.tar.gz
Add documentation for changes to Show Paren mode.
* lisp/paren.el (show-paren-highlight-openparen): Enhance doc string. * doc/emacs/programs.texi (Matching): Add descriptions of some pertinent user options, including the new show-paren-when-point-inside-paren and show-paren-when-point-in-periphery. * etc/NEWS (.. Specialized Modes ...): Add an entry for Show Paren mode. Move an entry on pcase to the Lisp Changes section.
Diffstat (limited to 'lisp/paren.el')
-rw-r--r--lisp/paren.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/paren.el b/lisp/paren.el
index 30314c2f9c8..5825d6a4f72 100644
--- a/lisp/paren.el
+++ b/lisp/paren.el
@@ -87,7 +87,10 @@ whitespace there."
'show-paren-mismatch "22.1")
(defcustom show-paren-highlight-openparen t
- "Non-nil turns on openparen highlighting when matching forward."
+ "Non-nil turns on openparen highlighting when matching forward.
+When nil, and point stands just before an open paren, the paren
+is not highlighted, the cursor being regarded as adequate to mark
+its position."
:type 'boolean)
(defvar show-paren--idle-timer nil)