Skip to content

Commit 632d380

Browse files
jackrosenthalchrome-bot
authored and
chrome-bot
committed
ec: Add directory local configuration for Emacs
Since ec uses Linux kernel code style, this adds support for a feature in emacs to use a specific code style in a directory and its subdiretories. Looks like this technique is used in a few other spots in chromium code. BUG=None BRANCH=none TEST=Emacs 26.1 recognizes and uses just fine Change-Id: Ic8007accf6746cb1a4c2ca0050fa06884d598da3 Signed-off-by: Jack Rosenthal <[email protected]> Reviewed-on: https://chromium-review.googlesource.com/1493036 Commit-Ready: ChromeOS CL Exonerator Bot <[email protected]> Reviewed-by: Tim Wawrzynczak <[email protected]> Reviewed-by: Raul E Rangel <[email protected]>
1 parent 4dd4b31 commit 632d380

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.dir-locals.el

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
((c-mode . ((c-file-style . "linux")
2+
(c-basic-offset . 8)
3+
(tab-width . 8)
4+
(indent-tabs-mode . t))))

0 commit comments

Comments
 (0)