All of lore.kernel.org
 help / color / mirror / Atom feed
From: Greg Donald <gdonald@gmail.com>
To: Randy Dunlap <rdunlap@infradead.org>,
	linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH] Docs: Fix elisp code so tabbing more than once works
Date: Sun, 13 Apr 2014 19:23:30 -0500	[thread overview]
Message-ID: <20140414002330.GA5473@gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 819 bytes --]

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@gmail.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

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 490 bytes --]

             reply	other threads:[~2014-04-14  0:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-04-14  0:23 Greg Donald [this message]
2014-04-14  0:45 ` [PATCH] Docs: Fix elisp code so tabbing more than once works Joe Perches

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140414002330.GA5473@gmail.com \
    --to=gdonald@gmail.com \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=rdunlap@infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.