help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Automatically Close Brace in C++ Mode


From: Tim X
Subject: Re: Automatically Close Brace in C++ Mode
Date: 09 Jun 2003 19:06:05 +1000
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3

>>>>> "shawshank" == shawshank  <schung@sprint.ca> writes:

 shawshank> Hi Folks, Is there a way to make emacs print a closing
 shawshank> brace as soon as the opening brace is typed?

Its been a while since I've done any C/C++, but I think one of the
"electric" options for the mode will do this. Check out the
customize-group for the mode and enable some of the electric stuff.

Tim

-- 
Tim Cross
The e-mail address on this message is FALSE (obviously!). My real e-mail is
to a company in Australia called rapttech and my login is tcross - if you 
really need to send mail, you should be able to work it out!


reply via email to

[Prev in Thread] Current Thread [Next in Thread]