]> git.eshelyaron.com Git - emacs.git/commit
Add support for curly quotation marks to electric-pair-mode
authorReuben Thomas <rrt@sc3d.org>
Tue, 8 Nov 2016 11:53:20 +0000 (11:53 +0000)
committerReuben Thomas <rrt@sc3d.org>
Fri, 2 Dec 2016 14:43:58 +0000 (14:43 +0000)
commitb6a8025eed3349ef98701ef07fa47e4abf22d1cc
tree8424438933973f2e74b1da533cb4c2c26ab8b638
parent66d6e7e9ecf5e481f8c2c3a4f88411f66c869a6e
Add support for curly quotation marks to electric-pair-mode

* lisp/elec-pair.el (electric-pair-pairs, electric-pair-text-pairs): Add
entries for left/right single/double quotation marks, from
electric-quote-chars. Note that this is safe for single quotation marks,
unlike with the ASCII apostrophe, since, although the right quotation
mark can be used as an apostrophe, it is the left quotation mark that is
typed to get a pair (Bug#24901).
lisp/elec-pair.el