[SECNET PATCH 02/12] .dir-locals.el: Settings for Python code.

Ian Jackson ijackson at chiark.greenend.org.uk
Sat May 18 01:21:47 BST 2019


From: Mark Wooding <mdw at distorted.org.uk>

This project has very weird Python style.  Even by my standards.

Signed-off-by: Mark Wooding <mdw at distorted.org.uk>
---
 .dir-locals.el | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/.dir-locals.el b/.dir-locals.el
index 0dbd236..7ca463d 100644
--- a/.dir-locals.el
+++ b/.dir-locals.el
@@ -2,4 +2,7 @@
 ;;; See Info node `(emacs) Directory Variables' for more information.
 
 ((c-mode
-  (c-basic-offset . 4)))
+  (c-basic-offset . 4))
+ (python-mode
+  (indent-tabs-mode . t)
+  (python-indent . 8)))
-- 
2.11.0




More information about the sgo-software-discuss mailing list