diff --git a/.gitignore b/.gitignore index b36739c1..2fe01e92 100644 --- a/.gitignore +++ b/.gitignore @@ -3,4 +3,5 @@ auto-save-list eproject.lst *.elc .smex-items -places \ No newline at end of file +places +backups \ No newline at end of file diff --git a/init.el b/init.el index 5bc44740..4d1d180e 100644 --- a/init.el +++ b/init.el @@ -100,7 +100,10 @@ (setq tab-width 4 indent-tabs-mode t python-indent-offset 4)) -(python-tabs) + +;; Yelp always uses tabs. +(add-hook 'python-mode-hook 'python-tabs) +(add-hook 'python-mode-hook 'subword-mode) ;; ============================================================================= ;; Custom Key Bindings