init.el
changeset 39 5a7c0a0cab49
parent 38 f4eee326b51c
child 40 886afd628fa2
equal deleted inserted replaced
38:f4eee326b51c 39:5a7c0a0cab49
    97  whitespace-style                                       ; whitespace to highlight
    97  whitespace-style                                       ; whitespace to highlight
    98  '(trailing lines-tail empty indentation
    98  '(trailing lines-tail empty indentation
    99             space-before-tab space-after-tab))
    99             space-before-tab space-after-tab))
   100 
   100 
   101 ;;; python-mode
   101 ;;; python-mode
   102 (add-hook
   102 (add-hook 'python-mode-hook (lambda () (setq indent-tabs-mode t)))
   103  'python-mode-hook
       
   104  (lambda ()
       
   105    (setq
       
   106     tab-width 3
       
   107     python-indent 3
       
   108     indent-tabs-mode t)))
       
   109 
   103 
   110 ;;; haskell-mode
   104 ;;; haskell-mode
   111 ;; scion
   105 ;; scion
   112 (if (file-exists-p "~/.cabal/share/scion-0.1.0.10/emacs")
   106 (if (file-exists-p "~/.cabal/share/scion-0.1.0.10/emacs")
   113     (progn
   107     (progn