GNU bug report logs - #25012
[PATCH] Improve document for electric-pair-mode.

Previous Next

Package: emacs;

Reported by: Hong Xu <hong <at> topbug.net>

Date: Thu, 24 Nov 2016 09:20:01 UTC

Severity: normal

Tags: patch

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Hong Xu <hong <at> topbug.net>
To: bug-gnu-emacs <at> gnu.org
Subject: [PATCH] Improve document for electric-pair-mode.
Date: Thu, 24 Nov 2016 01:19:18 -0800
	* programs.texi (Matching): Add indices for `electric-pair-*'
	variables and minor improvements of documentation.
---
 doc/emacs/programs.texi | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/doc/emacs/programs.texi b/doc/emacs/programs.texi
index 0c79d9c3de13..218750673100 100644
--- a/doc/emacs/programs.texi
+++ b/doc/emacs/programs.texi
@@ -876,21 +876,25 @@ Matching
 features of Electric Pair mode:
 
 @itemize @bullet
+@vindex electric-pair-preserve-balance
 @item
 @code{electric-pair-preserve-balance}, when non-@code{nil}, makes the
 default pairing logic balance out the number of opening and closing
 delimiters.
 
+@vindex electric-pair-delete-adjacent-pairs
 @item
 @code{electric-pair-delete-adjacent-pairs}, when non-@code{nil}, makes
 backspacing between two adjacent delimiters also automatically delete
 the closing delimiter.
 
+@vindex electric-pair-open-newline-between-pairs
 @item
 @code{electric-pair-open-newline-between-pairs}, when non-@code{nil},
-makes inserting inserting a newline between two adjacent pairs also
-automatically open and extra newline after point.
+makes inserting a newline between two adjacent pairs also
+automatically insert an extra newline after point.
 
+@vindex electric-pair-skip-whitespace
 @item
 @code{electric-pair-skip-whitespace}, when non-@code{nil}, causes the minor
 mode to skip whitespace forward before deciding whether to skip over
-- 
2.1.4






This bug report was last modified 8 years and 182 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.