title: Automatically closing braces in Emacs?
body: <p>I've seen a plugin for Vim called <a href="http://www.vim.org/scripts/script.php?script%5Fid=1849" rel="noreferrer">AutoClose</a> (discovered from <a href="https://stackoverflow.com/questions/1023002/how-to-minimize-use-of-arrow-keys-when-typing-code/1023699#1023699">this</a> post) which automatically adds the closing brace when typing '(', '{' etc.</p>
  
  <p>For example; when I type the following ( <code>|</code> is the cursor):</p>
  
  <pre><code>int main(|
  </code></pre>
  
  <p>I would like the closing <code>)</code> to be inserted automatically for me:</p>
  
  <pre><code>int main(|)
  </code></pre>
  
  <p>Does anyone know of a similar feature for emacs - Google has failed me this time!</p>