Added ignore, turn subword mode on for python mode.

This commit is contained in:
Ivan Malison 2013-03-26 11:54:04 -07:00
parent 4d461eebbd
commit 825dca7919
2 changed files with 6 additions and 2 deletions

1
.gitignore vendored
View File

@ -4,3 +4,4 @@ eproject.lst
*.elc *.elc
.smex-items .smex-items
places places
backups

View File

@ -100,7 +100,10 @@
(setq tab-width 4 (setq tab-width 4
indent-tabs-mode t indent-tabs-mode t
python-indent-offset 4)) python-indent-offset 4))
(python-tabs)
;; Yelp always uses tabs.
(add-hook 'python-mode-hook 'python-tabs)
(add-hook 'python-mode-hook 'subword-mode)
;; Yelp always uses tabs. ;; Yelp always uses tabs.
(add-hook 'python-mode-hook 'python-tabs) (add-hook 'python-mode-hook 'python-tabs)