Add additional customizations to magit modes.

This commit is contained in:
2012-03-21 10:23:41 +00:00
parent 0f4a807722
commit 943306c2f9
2 changed files with 10 additions and 1 deletions

View File

@@ -2,6 +2,7 @@
;; Load Mode Customizations
;;
;; Programming languages
(load-file (config-path "mode-customizations/coffee-mode.el"))
(load-file (config-path "mode-customizations/css-mode.el"))
(load-file (config-path "mode-customizations/emacs-lisp-mode.el"))
@@ -9,9 +10,11 @@
(load-file (config-path "mode-customizations/feature-mode.el"))
(load-file (config-path "mode-customizations/js-mode.el"))
(load-file (config-path "mode-customizations/markdown-mode.el"))
(load-file (config-path "mode-customizations/magit-log-edit-mode.el"))
(load-file (config-path "mode-customizations/php-mode.el"))
(load-file (config-path "mode-customizations/python-mode.el"))
(load-file (config-path "mode-customizations/ruby-mode.el"))
(load-file (config-path "mode-customizations/sh-mode.el"))
(load-file (config-path "mode-customizations/yaml-mode.el"))
;; Misc modes
(load-file (config-path "mode-customizations/magit-mode.el"))

View File

@@ -1,3 +1,9 @@
;; Make Magit it look a bit prettier with my theme
(add-hook 'magit-mode-hook
(lambda ()
(linum-mode t)))
;; Write commit messages in style
(add-hook 'magit-log-edit-mode-hook
(lambda ()
(flyspell-mode)