[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140414002330.GA5473@gmail.com>
Date: Sun, 13 Apr 2014 19:23:30 -0500
From: Greg Donald <gdonald@...il.com>
To: Randy Dunlap <rdunlap@...radead.org>, linux-doc@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH] Docs: Fix elisp code so tabbing more than once works
The example elisp code breaks tabbing more than once on the same line. Aligning
equal signs in a struct becomes problematic. Fix it.
Signed-off-by: Greg Donald <gdonald@...il.com>
---
Documentation/CodingStyle | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/CodingStyle b/Documentation/CodingStyle
index 7fe0546..287d22f 100644
--- a/Documentation/CodingStyle
+++ b/Documentation/CodingStyle
@@ -512,6 +512,8 @@ values. To do the latter, you can stick the following in your .emacs file:
(setq indent-tabs-mode t)
(c-set-style "linux-tabs-only")))))
+(global-set-key (kbd "TAB") 'self-insert-command)
+
This will make emacs go better with the kernel coding style for C
files below ~/src/linux-trees.
--
1.8.3.2
--
Greg Donald
Download attachment "signature.asc" of type "application/pgp-signature" (491 bytes)
Powered by blists - more mailing lists