Add customizations for lisp-mode

This commit is contained in:
2012-06-30 22:53:19 +01:00
parent 345e649dc9
commit 54246c615c
2 changed files with 9 additions and 0 deletions

View File

@@ -12,6 +12,7 @@
(load-file (config-path "mode-customizations/haml-mode.el"))
(load-file (config-path "mode-customizations/html-mode.el"))
(load-file (config-path "mode-customizations/js-mode.el"))
(load-file (config-path "mode-customizations/lisp-mode.el"))
(load-file (config-path "mode-customizations/makefile-mode.el"))
(load-file (config-path "mode-customizations/markdown-mode.el"))
(load-file (config-path "mode-customizations/php-mode.el"))

View File

@@ -0,0 +1,8 @@
(defun customizations-for-lisp-mode ()
(interactive)
(setq whitespace-action (quote (auto-cleanup)))
(flyspell-prog-mode)
(linum-mode t)
(fci-mode))
(add-hook 'lisp-mode-hook 'customizations-for-lisp-mode)