[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs changed indenting on me
From: |
Sarir Khamsi |
Subject: |
Re: Emacs changed indenting on me |
Date: |
Fri, 01 Oct 2004 11:13:44 -0700 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (windows-nt) |
dave@adboyd.com (J. David Boyd) writes:
> Sarir Khamsi <sarir.khamsi@raytheon.com> writes:
>
>> Never mind...I did a diff between previous versions and found my
>> problem. Sorry.
>
> You're supposed to tell us what the problem was so that we can all learn!
Fair enough...this is what I took out:
(add-hook 'c-mode-hook
(function (lambda ()
(setq c-file-style "local"))))
(add-hook 'c++-mode-hook
(function (lambda ()
(setq c-file-style "local"))))
(c-add-style "local"
'((c-basic-offset . 3)
(c-comment-only-line-offset . 0)
(c-hanging-braces-alist . ((substatement-open before after)))
(c-offsets-alist . ((topmost-intro . 0)
(topmost-intro-cont . 0)
(substatement . 3)
(substatement-open . 0)
(statement-case-open . 3)
(statement-cont . 3)
(access-label . -3)
(inclass . 3)
(inline-open . 0)
))))
I didn't think I needed it. After I got the initial reply, it all made
sense when I did the diff.
Sari
- Re: Emacs changed indenting on me,
Sarir Khamsi <=