Remove unnecessary auto-mode-alist additions
Getty Ritter
9 years ago
57 | 57 | (autoload 'camldebug "camldebug" "Run the Caml debugger" t) |
58 | 58 | (autoload 'tuareg-imenu-set-imenu "tuareg-imenu" |
59 | 59 | "Configuration of imenu for tuareg" t) |
60 | (add-hook 'tuareg-mode-hook 'tuareg-imenu-set-imenu) | |
61 | (add-to-list 'auto-mode-alist '("\\.ml[ilyp]?\\'" . tuareg-mode)))) | |
60 | (add-hook 'tuareg-mode-hook 'tuareg-imenu-set-imenu))) | |
62 | 61 | |
63 | 62 | |
64 | 63 | |
65 | 64 | |
66 | 65 | ;; dockerfile mode |
67 | 66 | |
68 | 67 | (use-package dockerfile-mode |
69 | :ensure t | |
70 | :init | |
71 | (progn | |
72 | (add-to-list 'auto-mode-alist '("\\Dockerfile\\'" . dockerfile-mode)))) | |
68 | :ensure t) | |
73 | 69 | |
74 | 70 | |
75 | 71 | |
76 | 72 | |
77 | 73 | ;; rust-mode |
78 | 74 | |
79 | 75 | (use-package rust-mode |
80 | :ensure t | |
81 | :init (add-to-list 'auto-mode-alist '("\\.rs\\'" . rust-mode))) | |
76 | :ensure t) | |
82 | 77 | |
83 | 78 | |
84 | 79 | |
85 | 80 | |
86 | 81 | ;; various markup/text file modes |
87 | 82 | |
88 | 83 | (use-package toml-mode |
89 | :ensure t | |
90 | :init (add-to-list 'auto-mode-alist '("\\.toml\\'" . toml-mode))) | |
84 | :ensure t) | |
91 | 85 | |
92 | 86 | (use-package yaml-mode |
93 | :ensure t | |
94 | :init (add-to-list 'auto-mode-alist '("\.ya?ml\'" . yaml-mode))) | |
87 | :ensure t) |