summaryrefslogtreecommitdiffstats
path: root/Documentation/CodingStyle
diff options
context:
space:
mode:
authorAlison Chaiken <alison_chaiken@mentor.com>2015-01-26 04:26:01 +0100
committerJonathan Corbet <corbet@lwn.net>2015-01-28 20:05:46 +0100
commit039d19a143ee2386f5ab39f9065c987b1d65f91d (patch)
treef63760bc6a28b8d8d0e16b85968d622033d44666 /Documentation/CodingStyle
parentDocBook: Do not exceed argument list limit (diff)
downloadlinux-039d19a143ee2386f5ab39f9065c987b1d65f91d.tar.xz
linux-039d19a143ee2386f5ab39f9065c987b1d65f91d.zip
CodingStyle: enable emacs display of trailing whitespace
Suggest to developers who use emacs that they turn on the instantaneous trailing-whitespace warning feature. Signed-off-by: Alison Chaiken <alison_chaiken@mentor.com> [jc: untabified to match its surroundings] Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/CodingStyle')
-rw-r--r--Documentation/CodingStyle1
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/CodingStyle b/Documentation/CodingStyle
index 618a33c940df..449a8a19fc21 100644
--- a/Documentation/CodingStyle
+++ b/Documentation/CodingStyle
@@ -527,6 +527,7 @@ values. To do the latter, you can stick the following in your .emacs file:
(string-match (expand-file-name "~/src/linux-trees")
filename))
(setq indent-tabs-mode t)
+ (setq show-trailing-whitespace t)
(c-set-style "linux-tabs-only")))))
This will make emacs go better with the kernel coding style for C