aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/init-python.el
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2018-08-09 18:02:25 -0500
committerJesús <heckyel@hyperbola.info>2018-08-09 18:02:25 -0500
commit7e8598ebdf92ecf3f9a9c091927c73c4de42d1ab (patch)
tree49c8bc5e0a006678f5f9c32e6ee440f09a82a7c2 /lisp/init-python.el
parent91192f6d72a342f6c6caf37318d4c225bdf96205 (diff)
downloademacs-personal-7e8598ebdf92ecf3f9a9c091927c73c4de42d1ab.tar.lz
emacs-personal-7e8598ebdf92ecf3f9a9c091927c73c4de42d1ab.tar.xz
emacs-personal-7e8598ebdf92ecf3f9a9c091927c73c4de42d1ab.zip
set to 4 spaces in python
Diffstat (limited to 'lisp/init-python.el')
-rw-r--r--lisp/init-python.el9
1 files changed, 9 insertions, 0 deletions
diff --git a/lisp/init-python.el b/lisp/init-python.el
new file mode 100644
index 0000000..6ed71df
--- /dev/null
+++ b/lisp/init-python.el
@@ -0,0 +1,9 @@
+;;----------------------------------------------------------------------------
+;; Python Mode
+;;----------------------------------------------------------------------------
+(add-hook 'python-mode-hook
+ (lambda ()
+ (setq indent-tabs-mode nil)
+ (setq python-indent-offset 4)))
+
+(provide 'init-python)