-
Notifications
You must be signed in to change notification settings - Fork 0
/
.emacs
29 lines (24 loc) · 781 Bytes
/
.emacs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
(menu-bar-mode -1)
(add-to-list 'load-path "~/.emacs.d/lisp")
;; make the tab key do indent AND completion
(set-default 'tab-always-indent 'complete)
;; Editor config
(add-to-list 'load-path "/usr/local/share/emacs/site-lisp/editorconfig-emacs")
(load "editorconfig")
(editorconfig-mode 1)
;; MELPA packages
(when (>= emacs-major-version 24)
(require 'package)
(add-to-list
'package-archives
'("melpa" . "http://melpa.org/packages/") t)
(add-to-list
'package-archives
'("marmalade" . "http://marmalade-repo.org/packages/") t)
(package-initialize))
;; Racket mode
(add-hook 'racket-mode-hook
(lambda ()
(define-key racket-mode-map (kbd "C-c r") 'racket-run)))
(add-hook 'scheme-mode-hook 'racket-mode)
(setq geiser-active-implementations '(racket))