[WireGuard] [PATCH] add a style guide for emacs users

Daniel Kahn Gillmor dkg at fifthhorseman.net
Sat Jul 2 16:31:21 CEST 2016


---
 .dir-locals.el | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
 create mode 100644 .dir-locals.el

diff --git a/.dir-locals.el b/.dir-locals.el
new file mode 100644
index 0000000..dd5a4ec
--- /dev/null
+++ b/.dir-locals.el
@@ -0,0 +1,14 @@
+;; emacs local configuration settings for wireguard source
+;; surmised by dkg on 2016-07-02
+
+((c-mode
+  (indent-tabs-mode . t)
+  (tab-width . 4)
+  (c-basic-offset . 4)
+  (c-file-style . "linux"))
+ (shell-mode
+  (indent-tabs-mode . t)
+  (tab-width . 4)
+  (sh-basic-offset . 4)
+  (sh-indentation . 4))
+ )
-- 
2.8.1



More information about the WireGuard mailing list