[EMAIL PROTECTED] wrote: > On Wed, 14 Dec 2005, Angus Leeming wrote: > >> Guys, I find that I can tell emacs how to format individual source files >> explicitly, overriding the contents of my .emacs file. > > What happens if you manually set your mode formatting variables and then > reformat the text? > >> Does anyone know the command to prevent that? I've tried adding >> c-brace-offset: 0; >> and >> substatement-open: 0; >> to the comment line above but with no success. > > Should that be "c-substatement-open"?
Probably ;-) It turned out that c-brace-offset was what I was looking for, but I had to restart emacs for it to take effect. -- Angus