Re: [PATCH 3/4] {fast-export,transport-helper}: style cleanups
- From
Junio C Hamano <gitster@pobox.com>
- Date
- May 16, 2013, 18:10 UTC
- Message-ID
- <7vfvxm6biv.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <CAMP44s3c1vdCn43S=nSzfj=znZ9L_7jH9-+EOY0+SZNnSBTVbw@mail.gmail.com>
Felipe Contreras <felipe.contreras@gmail.com> writes:
> You find it sensible, I don't. And when people disagree, that's what > the guideline is for.
If you really need it to be spelled out, I would say it would be something like this:
(defun linux-style ()
"C mode with adjusted defaults for use with the Linux kernel."
(interactive)
(c-set-style "K&R")
(setq tab-width 8)
(setq indent-tabs-mode t)
(setq c-basic-offset 8))(add-hook 'c-mode-hook 'linux-style)