help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Starting in c-set-style linux


From: Mike Irwin
Subject: Re: Starting in c-set-style linux
Date: Wed, 21 Apr 2004 20:18:24 -0400
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (gnu/linux)

"News @adelphia" <jakle131@adelphia.net> writes:

>  I'm new to emacs, and I was wondering what I need to do in order to start
> emacs in linux mode with out have to "M-x c-set-style linux" every time I
> start emacs. I've looked all over the web and can't find anything on the
> subject. If anyone can point me in the right direction I'd be very greatful.

(defun my-linux-c-mode ()
  "C mode with adjusted defaults for use with the linux kernel."
  (c-set-style "linux"))

(add-hook 'c-mode-hook 'my-linux-c-mode)


reply via email to

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