From 36fa6af2e831e40fe318f1e68b389c83a853521a Mon Sep 17 00:00:00 2001 From: kazu Date: Sun, 1 Jul 2018 01:38:14 +0000 Subject: [PATCH] [DOC] newer codes recommend to use spaces only [Bug #14246] [ci skip] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63811 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- doc/contributing.rdoc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/contributing.rdoc b/doc/contributing.rdoc index 34039c3ae1..9888f53809 100644 --- a/doc/contributing.rdoc +++ b/doc/contributing.rdoc @@ -374,7 +374,8 @@ trunk, or edge Ruby. Here are some general rules to follow when writing Ruby and C code for CRuby: -* Indent 4 spaces for C with tabs for eight-space indentation (emacs default) +* Indent 4 spaces for C without tabs (old codes might use tabs for eight-space indentation, + but newer codes recommend to use spaces only) * Indent 2 space tabs for Ruby * Do not use TABs in ruby codes * ANSI C style for 1.9+ for function declarations