Mercurial > hg > dotemacs
changeset 69:f10352976994
Set different tab width for Python
author | Jordi Gutiérrez Hermoso <jordigh@octave.org> |
---|---|
date | Mon, 06 Aug 2012 12:14:59 -0400 |
parents | 67eb550de9dd |
children | b21179c7b441 |
files | dotemacs.el |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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