aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/elec-pair.el8
1 files changed, 6 insertions, 2 deletions
diff --git a/lisp/elec-pair.el b/lisp/elec-pair.el
index 116292027cd..47d44b1cfcc 100644
--- a/lisp/elec-pair.el
+++ b/lisp/elec-pair.el
@@ -28,7 +28,9 @@
28;;; Electric pairing. 28;;; Electric pairing.
29 29
30(defcustom electric-pair-pairs 30(defcustom electric-pair-pairs
31 '((?\" . ?\")) 31 '((?\" . ?\")
32 ((nth 0 electric-quote-chars) . (nth 1 electric-quote-chars))
33 ((nth 2 electric-quote-chars) . (nth 3 electric-quote-chars)))
32 "Alist of pairs that should be used regardless of major mode. 34 "Alist of pairs that should be used regardless of major mode.
33 35
34Pairs of delimiters in this list are a fallback in case they have 36Pairs of delimiters in this list are a fallback in case they have
@@ -42,7 +44,9 @@ See also the variable `electric-pair-text-pairs'."
42 44
43;;;###autoload 45;;;###autoload
44(defcustom electric-pair-text-pairs 46(defcustom electric-pair-text-pairs
45 '((?\" . ?\" )) 47 '((?\" . ?\" )
48 ((nth 0 electric-quote-chars) . (nth 1 electric-quote-chars))
49 ((nth 2 electric-quote-chars) . (nth 3 electric-quote-chars)))
46 "Alist of pairs that should always be used in comments and strings. 50 "Alist of pairs that should always be used in comments and strings.
47 51
48Pairs of delimiters in this list are a fallback in case they have 52Pairs of delimiters in this list are a fallback in case they have