Fix electric-pair-skip-whitespace with quotes in text-mode
commit89f20f76d8fa700d2a534834bf178ac8796d35cf
authorJoão Távora <joaotavora@gmail.com>
Sun, 6 Apr 2014 23:09:19 +0000 (7 00:09 +0100)
committerJoão Távora <joaotavora@gmail.com>
Sun, 6 Apr 2014 23:09:19 +0000 (7 00:09 +0100)
tree8b3a2f1a6bd427320ddb303d69a25dfb87ba5b8a
parentaa5ccb01a59901cb15a25995b70a7f49d2b03b57
Fix electric-pair-skip-whitespace with quotes in text-mode

* lisp/elec-pair.el (electric-pair-post-self-insert-function): Don't
skip whitespace for quote syntax when `electric-pair-text-pairs'
and `electric-pair-pairs' were used.

* test/automated/electric-tests.el (electric-pair-define-test-form):
More readable test docstrings.
(whitespace-skipping-for-quotes-not-ouside)
(whitespace-skipping-for-quotes-only-inside)
(whitespace-skipping-not-without-proper-syntax):

Fixes: debbugs:17183
lisp/ChangeLog
lisp/elec-pair.el
test/ChangeLog
test/automated/electric-tests.el