Electric quote mode: Conditionally replace " (Bug#24710)
commitd247e1d30abcb77665f829ca98a5bdef69ff4bc3
authorPhilipp Stephani <phst@google.com>
Sun, 23 Jul 2017 19:58:49 +0000 (23 21:58 +0200)
committerPhilipp Stephani <phst@google.com>
Sat, 30 Sep 2017 22:20:36 +0000 (1 00:20 +0200)
treedb9c7b1127eaa1860fbc586c8eace53ea4e3c4f2
parentd88a0f6554888643854ddb2c1f49b77b0bf8904c
Electric quote mode: Conditionally replace " (Bug#24710)

* lisp/electric.el (electric-quote-replace-double): New user option.
(electric-quote-post-self-insert-function): Use it.

* test/lisp/electric-tests.el (electric-quote-replace-double-disabled)
(electric-quote-replace-double-bob)
(electric-quote-replace-double-bol)
(electric-quote-replace-double-after-space)
(electric-quote-replace-double-after-letter)
(electric-quote-replace-double-after-paren): New unit tests.

* doc/emacs/text.texi (Quotation Marks): Document
'electric-quote-replace-double'.
doc/emacs/text.texi
etc/NEWS
lisp/electric.el
test/lisp/electric-tests.el