Automatically closing braces in emacs?

Posted by Dave Rigby on Stack Overflow See other posts from Stack Overflow or by Dave Rigby
Published on 2009-06-21T12:13:41Z Indexed on 2010/03/31 7:53 UTC
Read the original article Hit count: 342

Filed under:
|

Hi

I've seen a plugin for Vim called AutoClose (discovered from this post) which automatically adds the closing brace when typing '(', '{' etc.

For example; when I type the following ( | is the cursor):

int main(|

I would like the closing ) to be inserted automatically for me:

int main(|)

Does anyone know of a similar feature for emacs - Google has failed me this time!

© Stack Overflow or respective owner

Related posts about emacs

Related posts about typing