On Tue, 2002-04-09 at 12:21, Simon Wong wrote:
> When I set it in my .emacs it shows 4 on startup but changes to 2 as
> soon as the major mode is loaded.

Not sure if anyone was actually interested in what was happening here,
however, it's now fixed so I thought I'd send in the solution.

To ensure that your customised C mode settings are loaded when a C/C++
file is opened, you must have the following setting in your .emacs file:

(c-default-style (quote ((other . "user"))))

This ensures that your specific settings are loaded and not some other
settings.

Note this setting is also available in the customize menu.

HTH.

-- 
*************************
* Simon Wong            *
*                       *
* <[EMAIL PROTECTED]> *
*                       *
*************************

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to