Skip to contentSkip to conversation

2.4.22-pre9, update CodingStyle hits for Emacs users.

PATCH New Ben Greear 1 participant 1 message Nov 6, 2003 Documentation

lore
Share & tools
lore

Ben Greear

author
#0 lore raw

PATCH 1/1 2.4.22-pre9, update CodingStyle hits for Emacs users.

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.

Documentation/CodingStyle +2 -0
@@ -184,6 +184,8 @@
   (interactive)
   (c-mode)
   (c-set-style "K&R")
+  (setq tab-width 8)
+  (setq	indent-tabs-mode t)
   (setq c-basic-offset 8))
 
 This will define the M-x linux-c-mode command.  When hacking on a
Signature · 2 lines
Ben Greear <[email protected]>
Candela Technologies Inc  http://www.candelatech.com