Barry OReilly wrote:
> (add-hook 'jit-lock-after-change-extend-region-functions
> (lambda (_start _end _old-len)
> (condition-case nil
> (backward-up-list)
> (scan-error nil)))
> nil
> t)
[...]
> Insert parentheses:
>
> M-(
>
> Inserted into *scratch* buffer:
>
> ) (
>
> But expected:
>
> ()
Well, it sounds like you shouldn't do that, then.