blob: 071ae569f80827a05b6393f3acf3e277884b06f7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
;; these could be kept alongside related topics, but for whatever reason
;; I prefer having them together
(defvar km/modes '(
("\\.md$" . markdown-mode)
("\\.markdown$" . markdown-mode)
("\\.zsh$" . shell-script-mode)
("\\.*rc$" . conf-unix-mode)
("\\.org.txt$" . org-mode)
("/mutt" . mail-mode)
)
"Auto mode mappings")
(defun km/add-mode (mode)
(setq auto-mode-alist
(cons mode auto-mode-alist)))
(mapcar 'km/add-mode km/modes)
|