|
From: | Kevin Rodgers |
Subject: | Re: c++ mode |
Date: | Mon, 13 Nov 2006 09:08:56 -0700 |
User-agent: | Thunderbird 1.5.0.8 (Windows/20061025) |
Gary Wessle wrote:
David Hansen <david.hansen@gmx.net> writes:On 12 Nov 2006 07:28:42 +1100 Gary Wessle wrote:I have c++ mode on but can not get the feature where you hit ";, {, }"and it will go to next line. is there a variable need setting?C-c C-a should do it. Davidc-toggle-auto-line-whatever... I don't have this variable GNU Emacs 21.4.1 (i386-redhat-linux-gnu, X toolkit, Xaw3d scroll bars)of 2006-03-07 on hs20-bc1-6.build.redhat.com
c-toggle-auto-newline is a command, not a variable. You need to call (c-toggle-auto-newline 1) in an appropriate hook, probably c-mode-common-hook. -- Kevin
[Prev in Thread] | Current Thread | [Next in Thread] |