From 532be544895ab159084c695903755ccfe1737ff0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs?= Date: Thu, 9 Aug 2018 19:05:47 -0500 Subject: impor features from emacs-personal MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit → https://gitlab.com/heckyel-ng/emacs-personal --- lisp/init-python.el | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 lisp/init-python.el (limited to 'lisp/init-python.el') 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) -- cgit v1.2.3