]> git.eshelyaron.com Git - emacs.git/commit
* lisp/electric.el (electric-pair-mode): Improve interaction with
authorStefan Monnier <monnier@iro.umontreal.ca>
Wed, 19 Jun 2013 04:42:32 +0000 (00:42 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Wed, 19 Jun 2013 04:42:32 +0000 (00:42 -0400)
commit102626e2259a927c563187d8ce3393d54a1a6b35
tree8075adf62fae15cef58ed7cf65238302d836463c
parent789cf83370bc2485ec5d40b076e75d0ba0a499fc
* lisp/electric.el (electric-pair-mode): Improve interaction with
electric-layout-mode.
(electric-pair-default-inhibit): Don't assume (eq char (char-before)).
(electric-pair-syntax): Use text-mode-syntax-table in comments and strings.
(electric-pair--insert): New function.
(electric-pair-post-self-insert-function): Use it and electric--after-char-pos.
lisp/ChangeLog
lisp/electric.el