On Sat, Jul 1, 2017 at 12:10 PM, Alan Mackenzie wrote: > The code involved is moderately involved, with special cases needed to > handle things like '\'', '\\', or char foo [] = {',',',',',',','};. So > if there are any problems with it (in particular, large areas of text > following a quotey bit getting misfontified with font-lock-string-face), > please let me know. I think this change breaks tests/lisp/electric-tests.el, here's a reduced test case (backtrace attached) (with-temp-buffer (c++-mode) (insert " (((()) ") (goto-char 4) (insert ")"))