diff options
| author | João Távora | 2014-04-02 10:59:06 +0100 |
|---|---|---|
| committer | João Távora | 2014-04-02 10:59:06 +0100 |
| commit | 200c532bd04a67a89db602462d74706051c61178 (patch) | |
| tree | ef02bee0c2b5aa0d8e9adc407d24a7e20a97b96a /src/buffer.h | |
| parent | 2395f2b919f44cae22b2ca99cd779e69d79f710a (diff) | |
| download | emacs-200c532bd04a67a89db602462d74706051c61178.tar.gz emacs-200c532bd04a67a89db602462d74706051c61178.zip | |
Inhibit quote autopairing more frequently
* lisp/elec-pair.el (electric-pair-inhibit-if-helps-balance): Inhibit
quote pairing if point-max is inside an unterminated string.
(electric-pair--looking-at-unterminated-string-p):
Delete.
(electric-pair--in-unterminated-string-p): New function.
* test/automated/electric-tests.el (inhibit-if-strings-mismatched):
New test, change from `inhibit-only-of-next-is-mismatched'.
Diffstat (limited to 'src/buffer.h')
0 files changed, 0 insertions, 0 deletions