2016-11-10 00:32:41 +08:00
|
|
|
((nil . ((show-trailing-whitespace . t)))
|
|
|
|
(prog-mode
|
2012-06-22 05:25:09 +08:00
|
|
|
(indent-tabs-mode . nil)
|
|
|
|
(tab-width . 8)
|
|
|
|
(c-basic-offset . 3)
|
|
|
|
(c-file-style . "stroustrup")
|
2012-07-05 04:12:09 +08:00
|
|
|
(fill-column . 78)
|
2012-06-22 05:25:09 +08:00
|
|
|
(eval . (progn
|
2016-02-04 02:07:58 +08:00
|
|
|
(c-set-offset 'case-label '0)
|
2012-06-22 05:25:09 +08:00
|
|
|
(c-set-offset 'innamespace '0)
|
|
|
|
(c-set-offset 'inline-open '0)))
|
2016-11-10 00:32:41 +08:00
|
|
|
(whitespace-style face indentation)
|
|
|
|
(whitespace-line-column . 79)
|
|
|
|
(eval ignore-errors
|
|
|
|
(require 'whitespace)
|
|
|
|
(whitespace-mode 1)))
|
2014-01-30 02:30:23 +08:00
|
|
|
(makefile-mode (indent-tabs-mode . t))
|
2012-06-22 05:25:09 +08:00
|
|
|
)
|