diff options
author | Jesús <heckyel@hyperbola.info> | 2018-08-09 19:05:47 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2018-08-09 19:05:47 -0500 |
commit | 532be544895ab159084c695903755ccfe1737ff0 (patch) | |
tree | 5fe5ce9169e72d15c3c683eed36537db7ce0d671 /lisp/init-python.el | |
parent | e81fd91879c4daa9834b5a3fa71b9ad0bf076e00 (diff) | |
download | emacs-base-532be544895ab159084c695903755ccfe1737ff0.tar.lz emacs-base-532be544895ab159084c695903755ccfe1737ff0.tar.xz emacs-base-532be544895ab159084c695903755ccfe1737ff0.zip |
impor features from emacs-personal
→ https://gitlab.com/heckyel-ng/emacs-personal
Diffstat (limited to 'lisp/init-python.el')
-rw-r--r-- | lisp/init-python.el | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lisp/init-python.el b/lisp/init-python.el new file mode 100644 index 0000000..eee16f7 --- /dev/null +++ b/lisp/init-python.el @@ -0,0 +1,10 @@ +;;---------------------------------------------------------------------------- +;; Python Mode +;;---------------------------------------------------------------------------- +(add-hook 'python-mode-hook + (lambda () + (setq indent-tabs-mode nil) + (setq python-indent-guess-indent-offset nil) + (setq python-indent-offset 4))) + +(provide 'init-python) |