Skip to content

Commit 696156f

Browse files
firegurafikuJonathan Corbet
authored andcommitted
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>
1 parent 9e39dc1 commit 696156f

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎Documentation/CodingStyle‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ and NOT read it. Burn them, it's a great symbolic gesture.
1313
Anyway, here goes:
1414

1515

16-
Chapter 1: Indentation
16+
Chapter 1: Indentation
1717

1818
Tabs are 8 characters, and thus indentations are also 8 characters.
1919
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:
503503
(defun c-lineup-arglist-tabs-only (ignored)
504504
"Line up argument lists by tabs, not spaces"
505505
(let* ((anchor (c-langelem-pos c-syntactic-element))
506-
(column (c-langelem-2nd-pos c-syntactic-element))
507-
(offset (- (1+ column) anchor))
508-
(steps (floor offset c-basic-offset)))
506+
(column (c-langelem-2nd-pos c-syntactic-element))
507+
(offset (- (1+ column) anchor))
508+
(steps (floor offset c-basic-offset)))
509509
(* (max steps 1)
510510
c-basic-offset)))
511511

0 commit comments

Comments
 (0)