logo       

Re: C formatting: msg#00896

emacs.help

Subject: Re: C formatting

Oodini <svdbg@xxxxxxx> writes:

> I put 0, and then I get the *wanted behaviour*.
> C-x ESC ESC
> redo (c-set-offset (quote substatement) 0 nil)

Well, if you say so.

> So I modify my .emacs:
>
> (add-hook 'c-mode-hook
> (function (lambda ()
> (c-set-style "bsd")
> (setq c-basic-offset 4)
> (c-set-offset 0)

The above c-set-offset statement is obviously different from the one
you get after C-x ESC ESC.

Please try the one from C-x ESC ESC.
--
Ambibibentists unite!


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise