diff options
author | Pavel Kretov <firegurafiku@gmail.com> | 2015-02-16 20:26:17 +0300 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2015-02-28 01:01:40 +0300 |
commit | 696156f03f97aa3be4ec5f8d85ff3465bbf404fe (patch) | |
tree | 692e544f64b936e53bd08c579a1763fe0b0ef596 /Documentation/CodingStyle | |
parent | 9e39dc1e563e8d390bae42ee80e1e665c18b7de2 (diff) | |
download | linux-696156f03f97aa3be4ec5f8d85ff3465bbf404fe.tar.xz |
Documentation/CodingStyle: fix tab-spaces mixture
Coding style description has a irregular mixture of tabs and spaces in two
places which is bad by any means and can possibly hurt somebody's sense
of beauty.
Signed-off-by: Pavel Kretov <firegurafiku@gmail.com>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/CodingStyle')
-rw-r--r-- | Documentation/CodingStyle | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Documentation/CodingStyle b/Documentation/CodingStyle index 449a8a19fc21..6e0b7b99df18 100644 --- a/Documentation/CodingStyle +++ b/Documentation/CodingStyle @@ -13,7 +13,7 @@ and NOT read it. Burn them, it's a great symbolic gesture. Anyway, here goes: - Chapter 1: Indentation + Chapter 1: Indentation Tabs are 8 characters, and thus indentations are also 8 characters. There are heretic movements that try to make indentations 4 (or even 2!) @@ -503,9 +503,9 @@ values. To do the latter, you can stick the following in your .emacs file: (defun c-lineup-arglist-tabs-only (ignored) "Line up argument lists by tabs, not spaces" (let* ((anchor (c-langelem-pos c-syntactic-element)) - (column (c-langelem-2nd-pos c-syntactic-element)) - (offset (- (1+ column) anchor)) - (steps (floor offset c-basic-offset))) + (column (c-langelem-2nd-pos c-syntactic-element)) + (offset (- (1+ column) anchor)) + (steps (floor offset c-basic-offset))) (* (max steps 1) c-basic-offset))) |