diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el index 059fa4b..ff5a065 100644 --- a/emacs/.emacs.d/init.el +++ b/emacs/.emacs.d/init.el @@ -75,8 +75,6 @@ (setq auto-save-list-file-prefix (oni:data-location "auto-save-list/.saves-")) -(add-to-list 'auto-mode-alist '("\\.js\\'" . js2-mode)) - (global-set-key (kbd "C-M-SPC") 'er/expand-region) (global-set-key (kbd "M-+") 'mc/mark-next-like-this) @@ -305,12 +303,12 @@ "Major mode for editing mbsync configuration files." :interactive) -(add-to-list 'auto-mode-alist '("\\.mbsyncrc\\'" . mbsync-conf-mode)) - (autoload 'msmtprc-mode "msmtprc-mode" "Major mode for editing msmtp configuration files." :interactive) +(add-to-list 'auto-mode-alist '("\\.js\\'" . js2-mode)) +(add-to-list 'auto-mode-alist '("\\.mbsyncrc\\'" . mbsync-conf-mode)) (add-to-list 'auto-mode-alist '("\\.msmtprc\\'" . msmtprc-mode)) (add-hook 'git-commit-mode-hook 'electric-quote-local-mode)