M-x syntactic-close RET: close any syntactic element. ['a','b' ==> ['a','b']