diff options
author | Kyle Meyer <kyle@kyleam.com> | 2014-01-26 01:59:44 -0500 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2014-01-26 01:59:44 -0500 |
commit | 7869360008d87ca4b459c703f4894625dd8181cc (patch) | |
tree | b0f3f50ae2c309056883e03848abb3e1e4cb9b1e /lisp/init-modes.el | |
parent | 47e1d90700105f6b0f0550d7632a22b3fe81acb9 (diff) | |
download | emacs.d-7869360008d87ca4b459c703f4894625dd8181cc.tar.gz |
Follow Purcell's emacs.d structure
User init files are added using provide/require.
https://github.com/purcell/emacs.d
Diffstat (limited to 'lisp/init-modes.el')
-rw-r--r-- | lisp/init-modes.el | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/lisp/init-modes.el b/lisp/init-modes.el new file mode 100644 index 0000000..5db7a41 --- /dev/null +++ b/lisp/init-modes.el @@ -0,0 +1,15 @@ +;; These could be kept alongside related topics, but for whatever reason +;; I prefer having them together. + +(defvar km/modes '(("\\.zsh$" . shell-script-mode) + ("\\.*rc$" . conf-unix-mode) + ("\\.org.txt$" . org-mode) + ("PKGBUILD" . pkgbuild-mode)) + "Auto mode mappings") + +(mapc + (lambda (mode) (setq auto-mode-alist + (cons mode auto-mode-alist))) + km/modes) + +(provide 'init-modes) |