aboutsummaryrefslogtreecommitdiff
path: root/.emacs.d/lisp
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d/lisp')
-rw-r--r--.emacs.d/lisp/init-filetype.el3
-rw-r--r--.emacs.d/lisp/init-racket.el4
2 files changed, 4 insertions, 3 deletions
diff --git a/.emacs.d/lisp/init-filetype.el b/.emacs.d/lisp/init-filetype.el
deleted file mode 100644
index e27c119..0000000
--- a/.emacs.d/lisp/init-filetype.el
+++ /dev/null
@@ -1,3 +0,0 @@
-(add-to-list 'auto-mode-alist '("\\.rkt\\'" . scheme-mode))
-
-(provide 'init-filetype)
diff --git a/.emacs.d/lisp/init-racket.el b/.emacs.d/lisp/init-racket.el
new file mode 100644
index 0000000..465a948
--- /dev/null
+++ b/.emacs.d/lisp/init-racket.el
@@ -0,0 +1,4 @@
+(when (gx/maybe-require-package 'racket-mode)
+ (add-to-list 'auto-mode-alist '("\\.rkt\\'" . racket-mode)))
+
+(provide 'init-racket)