[前][次][番号順一覧][スレッド一覧]

ruby-changes:59933

From: =E5=8D=9C=E9=83=A8=E6=98=8C=E5=B9=B3 <ko1@a...>
Date: Thu, 6 Feb 2020 11:47:19 +0900 (JST)
Subject: [ruby-changes:59933] 7c20a2c83c (master): emacs mode addition

https://git.ruby-lang.org/ruby.git/commit/?id=7c20a2c83c

From 7c20a2c83cc50ef33d1095be8806ddacb0f8b321 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=8D=9C=E9=83=A8=E6=98=8C=E5=B9=B3?=
 <shyouhei@r...>
Date: Tue, 4 Feb 2020 11:47:04 +0900
Subject: emacs mode addition

Now that we have C++ header files, why not let their indents follow our
way.

diff --git a/.dir-locals.el b/.dir-locals.el
index 7c32d1f..8f4b964 100644
--- a/.dir-locals.el
+++ b/.dir-locals.el
@@ -24,6 +24,8 @@ https://github.com/ruby/ruby/blob/trunk/.dir-locals.el#L24
 
  (c-mode . ((c-file-style . "ruby")))
 
+ (c++-mode . ((c-file-style . "ruby")))
+
  (change-log-mode .
      ((buffer-file-coding-system . us-ascii)
       (indent-tabs-mode . t)
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]