Mercurial > dotfiles
comparison .elisp/settings/40.modes.el @ 86:68f53fa09e99
Moving all clojure stuff to a more self-contained area.
| author | Augie Fackler <durin42@gmail.com> |
|---|---|
| date | Wed, 15 Apr 2009 22:28:20 -0500 |
| parents | 89f6d05cd7d5 |
| children | 9052c3801744 |
comparison
equal
deleted
inserted
replaced
| 85:4b9b90486260 | 86:68f53fa09e99 |
|---|---|
| 15 ;; add hooks for modes you want to use the tab completion for: | 15 ;; add hooks for modes you want to use the tab completion for: |
| 16 (set-variable 'af-cleanup-whitespace t) | 16 (set-variable 'af-cleanup-whitespace t) |
| 17 (add-hook 'c-mode-hook 'af-tab-fix) | 17 (add-hook 'c-mode-hook 'af-tab-fix) |
| 18 (add-hook 'sh-mode-hook 'af-tab-fix) | 18 (add-hook 'sh-mode-hook 'af-tab-fix) |
| 19 (add-hook 'emacs-lisp-mode-hook 'af-tab-fix) | 19 (add-hook 'emacs-lisp-mode-hook 'af-tab-fix) |
| 20 (add-hook 'clojure-mode-hook 'af-tab-fix) | |
| 21 (add-hook 'rst-mode-hook '(lambda () | 20 (add-hook 'rst-mode-hook '(lambda () |
| 22 (make-variable-buffer-local 'af-cleanup-whitespace) | 21 (make-variable-buffer-local 'af-cleanup-whitespace) |
| 23 (set-variable 'af-cleanup-whitespace nil))) | 22 (set-variable 'af-cleanup-whitespace nil))) |
| 24 | 23 |
| 25 (autoload 'js2-mode "js2" nil t) | 24 (autoload 'js2-mode "js2" nil t) |
