[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how to set c-set-style at startup?

From: Peter Münster
Subject: Re: how to set c-set-style at startup?
Date: Tue, 19 Jul 2011 07:03:20 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

On Tue, Jul 19 2011, Jai Dayal wrote:

>   It seems right now, I have to do c-set-style for each file/buffer I open. 
> Is there a way I can set this in my .emacs file so that all files will have
> the same c style indentation?

Without customize:

--8<---------------cut here---------------start------------->8---
(add-hook 'c-mode-hook
          '(lambda ()
             (c-set-style "linux")
             ... ; other settings
--8<---------------cut here---------------end--------------->8---


reply via email to

[Prev in Thread] Current Thread [Next in Thread]