]> git.eshelyaron.com Git - emacs.git/commit
Ignore escape characters for context-sensitive quotes (Bug#29812)
authorPhilipp Stephani <phst@google.com>
Sun, 31 Dec 2017 16:43:43 +0000 (17:43 +0100)
committerPhilipp Stephani <phst@google.com>
Sun, 7 Jan 2018 12:52:59 +0000 (13:52 +0100)
commit6735df4443fe0aa60862a95c38746edf2b053862
tree759392dc48f2ce4c60ba7eaa1476c2334a51f331
parentf07c325d1f49e4b722f76aa730ac5d084bd0e77a
Ignore escape characters for context-sensitive quotes (Bug#29812)

* lisp/electric.el (electric-quote-post-self-insert-function): Skip
over escape characters when determining whether a context-sensitive
quote should be opening or closing.

* test/lisp/electric-tests.el
(electric-quote-replace-double-escaped-open)
(electric-quote-replace-double-escaped-close): New unit tests.
lisp/electric.el
test/lisp/electric-tests.el