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

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

[PATCH] Update emacs indentation instructions.

2008-01-19 Thread David Brown
For quite some time now, Emacs has supported multiple coding styles, including one very close to the Linux style. Update the Emacs configuration instructions in the documentation to reflect this. Signed-off-by: David Brown <[EMAIL PROTECTED]> --- Documentation/CodingStyle | 39

[PATCH] Update emacs indentation instructions.

2008-01-19 Thread David Brown
For quite some time now, Emacs has supported multiple coding styles, including one very close to the Linux style. Update the Emacs configuration instructions in the documentation to reflect this. Signed-off-by: David Brown [EMAIL PROTECTED] --- Documentation/CodingStyle | 39

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 defined when

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