changes the concept of "languages" to "mode-customizations"

This commit is contained in:
2012-03-09 10:24:20 +00:00
parent 1835536c99
commit 25e17c915e
25 changed files with 19 additions and 14 deletions

View File

@@ -15,7 +15,7 @@
(load-file (config-path "env.el"))
(load-file (config-path "packages.el"))
(load-file (config-path "helpers.el"))
(load-file (config-path "languages.el"))
(load-file (config-path "mode-customizations.el"))
(load-file (config-path "vendor.el"))
(load-file (config-path "behavior.el"))
(load-file (config-path "appearance.el"))

View File

@@ -1,12 +0,0 @@
(load-file (config-path "languages/coffee-script.el"))
(load-file (config-path "languages/cucumber.el"))
(load-file (config-path "languages/css.el"))
(load-file (config-path "languages/elisp.el"))
(load-file (config-path "languages/erlang.el"))
(load-file (config-path "languages/javascript.el"))
(load-file (config-path "languages/markdown.el"))
(load-file (config-path "languages/php.el"))
(load-file (config-path "languages/python.el"))
(load-file (config-path "languages/shell-script.el"))
(load-file (config-path "languages/ruby.el"))
(load-file (config-path "languages/yaml.el"))

16
mode-customizations.el Normal file
View File

@@ -0,0 +1,16 @@
;;
;; Load Mode Customizations
;;
(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"))
(load-file (config-path "mode-customizations/erlang-mode.el"))
(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/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"))

View File

@@ -2,7 +2,7 @@
;; no simple way to create a el-get package. So it's one
;; more thing thats not installed through el-get.
(add-to-list 'load-path (config-path "languages/erlang"))
(add-to-list 'load-path (config-path "mode-customizations/erlang"))
(setq erlang-root-dir "/usr/local")
(setq exec-path (cons "/usr/local/bin" exec-path))
(require 'erlang-start)

View File

@@ -1,5 +1,6 @@
(add-hook 'js-mode-hook
(lambda ()
(setq js-indent-level 2)
(flyspell-prog-mode)
(linum-mode t)
(fci-mode)