2013-08-14 22:28:11 +00:00
|
|
|
;; SLIME
|
|
|
|
(if (file-exists-p "~/quicklisp/slime-helper.el")
|
|
|
|
(load (expand-file-name "~/quicklisp/slime-helper.el")))
|
|
|
|
|
|
|
|
(setq inferior-lisp-program "clisp")
|
|
|
|
|
2014-05-14 12:12:39 +00:00
|
|
|
(mapcar (lambda (mode-hook)
|
|
|
|
(eval-after-load "paredit" `(add-hook ',mode-hook #'enable-paredit-mode))
|
|
|
|
(eval-after-load "rainbow-delimiters" `(add-hook ',mode-hook #'rainbow-delimiters-mode))
|
|
|
|
(eval-after-load "rainbow-identifiers" `(add-hook ',mode-hook #'rainbow-identifiers-mode))
|
|
|
|
(add-hook mode-hook (lambda ()
|
|
|
|
(show-paren-mode)
|
2014-06-18 13:39:57 +00:00
|
|
|
(electric-indent-mode 1)
|
|
|
|
(rainbow-delimiters-mode)
|
2014-07-08 18:05:30 +00:00
|
|
|
(rainbow-identifiers-mode)))
|
2014-05-14 12:12:39 +00:00
|
|
|
)
|
|
|
|
'(lisp-mode-hook
|
|
|
|
emacs-lisp-mode-hook
|
|
|
|
scheme-mode-hook
|
2014-06-18 13:39:57 +00:00
|
|
|
lfe-mode-hook
|
|
|
|
clojure-mode-hook))
|
2014-05-14 12:12:39 +00:00
|
|
|
|