File tree 1 file changed +37
-0
lines changed
1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change
1
+ ; ; Copyright (c) 2018 Urabe, Shyouhei. All rights reserved.
2
+ ; ;
3
+ ; ; This file is a part of the programming language Ruby. Permission is hereby
4
+ ; ; granted, to either redistribute and/or modify this file, provided that the
5
+ ; ; conditions mentioned in the file COPYING are met. Consult the file for
6
+ ; ; details.
7
+
8
+ ((nil .
9
+ ((indent-tabs-mode . nil )
10
+ (require-final-newline . t )
11
+ (tab-width . 8 )
12
+ (show-trailing-whitespace . t )
13
+ (whitespace-line-column . 80 ))) ; ; See also [Misc #12277]
14
+
15
+ ; ; (bat-mode . ((buffer-file-coding-system . utf-8-dos)))
16
+
17
+ (ruby-mode . ((ruby-indent-level . 2 )))
18
+
19
+ (rdoc-mode . ((fill-column . 74 )))
20
+
21
+ (yaml-mode . ((yaml-indent-offset . 2 )))
22
+
23
+ (makefile-mode . ((indent-tabs-mode . t )))
24
+
25
+ (c-mode . ((c-file-style . " ruby" )))
26
+
27
+ (change-log-mode .
28
+ ((buffer-file-coding-system . us-ascii)
29
+ (indent-tabs-mode . t )
30
+ (change-log-indent-text . 2 )
31
+ (add-log-time-format . (lambda (&optional x y )
32
+ (let* ((time (or x (current-time )))
33
+ (system-time-locale " C" )
34
+ (diff (+ (cadr time) 32400 ))
35
+ (lo (% diff 65536 ))
36
+ (hi (+ (car time) (/ diff 65536 ))))
37
+ (format-time-string " %a %b %e %H:%M:%S %Y" (list hi lo) t )))))))
You can’t perform that action at this time.
0 commit comments