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

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

Re: Starting in c-set-style linux


From: Kevin Rodgers
Subject: Re: Starting in c-set-style linux
Date: Fri, 23 Apr 2004 10:08:35 -0600
User-agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2

Alan Mackenzie wrote:
> Set the variable `c-default-style' in your .emacs file.  This is fully
> documented in the CC Mode manual, page "Choosing a Style".  Something
> like the following in your .emacs should work:
>
> (eval-after-load "cc-mode"  '(setq c-default-style "linux"))
>
> [The eval-after-load bit is to make sure that you don't try and set the
> variable's value before the code has been loaded.]

eval-after-load shouldn't be necessary, if the variable is defined in
the usual defvar/defcustom way.

--
Kevin Rodgers



reply via email to

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