• João Távora's avatar
    Inhibit quote autopairing more frequently · 200c532b
    João Távora authored
    * 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'.
    200c532b
ChangeLog 539 KB