Re: [PATCH] Update emacs indentation instructions.

2008-01-19 Thread David Brown
On Sun, Jan 20, 2008 at 02:40:29AM +0100, Johannes Weiner wrote: +(setq c-default-style "linux") This variable is not defined when emacs starts up. Best is to always use a hook. Both of these examples are directly copied out of the emacs manual. Setting a variable before a module is loaded

Re: [PATCH] Update emacs indentation instructions.

2008-01-19 Thread Johannes Weiner
Hi, David Brown <[EMAIL PROTECTED]> writes: > +Fortunately, modern versions of GNU emacs support different indentation > +styles. If you want to use the Linux kernel style for all C code, place > +the following in your .emacs file: > + > +(setq c-default-style "linux") This variable is not defi