# HG changeset patch # User Jordi GutiƩrrez Hermoso # Date 1344269699 14400 # Node ID f10352976994a37c97ad517feee90070c03f2179 # Parent 67eb550de9dd14726abe5da788faf629fe29cfb5 Set different tab width for Python diff --git a/dotemacs.el b/dotemacs.el --- a/dotemacs.el +++ b/dotemacs.el @@ -147,6 +147,11 @@ ;; (when was-at-bol ;; (back-to-indentation ))))))) + +;; I like a different tab width for Python +(add-hook 'python-mode-hook + (lambda () (setq tab-width 4))) + (put 'narrow-to-region 'disabled nil) ;;; Inserts a relative pathname interactively