diff options
Diffstat (limited to 'lisp/electric.el')
-rw-r--r-- | lisp/electric.el | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lisp/electric.el b/lisp/electric.el index 57cdff38ed4..0cf3a299cfa 100644 --- a/lisp/electric.el +++ b/lisp/electric.el @@ -512,11 +512,11 @@ This list's members correspond to left single quote, right single quote, left double quote, and right double quote, respectively." :version "26.1" :type '(list character character character character) - :safe #'(lambda (x) - (pcase x - (`(,(pred characterp) ,(pred characterp) - ,(pred characterp) ,(pred characterp)) - t))) + :safe (lambda (x) + (pcase x + (`(,(pred characterp) ,(pred characterp) + ,(pred characterp) ,(pred characterp)) + t))) :group 'electricity) (defcustom electric-quote-paragraph t @@ -620,7 +620,7 @@ This requotes when a quoting key is typed." (define-minor-mode electric-quote-mode "Toggle on-the-fly requoting (Electric Quote mode). -When enabled, as you type this replaces \\=` with ‘, \\=' with ’, +When enabled, as you type this replaces \\=` with \\=‘, \\=' with \\=’, \\=`\\=` with “, and \\='\\=' with ”. This occurs only in comments, strings, and text paragraphs, and these are selectively controlled with `electric-quote-comment', `electric-quote-string', and |