From e4dea9d1fd3cf1975ed903ddf7d086e38abd6c9e Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Thu, 5 Jan 2012 14:51:33 +0000 Subject: [PATCH] the tab-width command wasn't working, and I actually wanna use the default 4 space indent, and I want return to indent the new line. --- languages/python.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/languages/python.el b/languages/python.el index 250568a..3f91a2e 100644 --- a/languages/python.el +++ b/languages/python.el @@ -2,4 +2,4 @@ (lambda () (fci-mode) (linum-mode t) - (setq tab-width 2))) + (define-key python-mode-map (kbd "RET") 'newline-and-indent)))