fix bug

that closing parens are not inserted in some modes (c-mode, js-mode,
etc)