Commit b4ecf1b0 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] Update CodingStyle hints for Emacs users.

From: Trivial Patch Monkey <trivial@rustcorp.com.au>

From:  Ben Greear <greearb@candelatech.com>

Depending on one's default emacs settings, the suggestion in the
CodingStyle may or may not work.  This patch adds a few more commands to
ensure it works in more cases.
parent 3bca5aa3
...@@ -254,6 +254,8 @@ values. To do the latter, you can stick the following in your .emacs file: ...@@ -254,6 +254,8 @@ values. To do the latter, you can stick the following in your .emacs file:
(interactive) (interactive)
(c-mode) (c-mode)
(c-set-style "K&R") (c-set-style "K&R")
(setq tab-width 8)
(setq indent-tabs-mode t)
(setq c-basic-offset 8)) (setq c-basic-offset 8))
This will define the M-x linux-c-mode command. When hacking on a This will define the M-x linux-c-mode command. When hacking on a
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment