From 54bf2a37531916392b2fee17c4dfc982ea16de0f Mon Sep 17 00:00:00 2001 From: Bozhidar Batsov Date: Wed, 23 Nov 2011 12:39:50 +0200 Subject: [PATCH] fixed #25 - problem with python indentation --- modules/prelude-python.el | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/prelude-python.el b/modules/prelude-python.el index ab1eff3..b37074e 100644 --- a/modules/prelude-python.el +++ b/modules/prelude-python.el @@ -45,11 +45,11 @@ (require 'python) -;; (defun prelude-python-coding-hook () -;; ) +(defun prelude-python-coding-hook () + (electric-indent-mode -1)) -;; (when prelude-enable-python-hook -;; (add-hook 'python-mode-hook 'prelude-python-coding-hook)) +(when prelude-enable-python-hook + (add-hook 'python-mode-hook 'prelude-python-coding-hook)) (provide 'prelude-python)