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>
This commit is contained in:
parent
d56fcf299f
commit
039d19a143
|
@ -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")
|
(string-match (expand-file-name "~/src/linux-trees")
|
||||||
filename))
|
filename))
|
||||||
(setq indent-tabs-mode t)
|
(setq indent-tabs-mode t)
|
||||||
|
(setq show-trailing-whitespace t)
|
||||||
(c-set-style "linux-tabs-only")))))
|
(c-set-style "linux-tabs-only")))))
|
||||||
|
|
||||||
This will make emacs go better with the kernel coding style for C
|
This will make emacs go better with the kernel coding style for C
|
||||||
|
|
Loading…
Reference in New Issue