mirror of
https://github.com/correl/dotfiles.git
synced 2024-11-16 19:19:28 +00:00
22 lines
868 B
EmacsLisp
22 lines
868 B
EmacsLisp
;; SLIME
|
|
(if (file-exists-p "~/quicklisp/slime-helper.el")
|
|
(load (expand-file-name "~/quicklisp/slime-helper.el")))
|
|
|
|
(setq inferior-lisp-program "clisp")
|
|
|
|
(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)
|
|
(electric-indent-mode 1)
|
|
(rainbow-delimiters-mode)
|
|
(rainbow-identifiers-mode)))
|
|
)
|
|
'(lisp-mode-hook
|
|
emacs-lisp-mode-hook
|
|
scheme-mode-hook
|
|
lfe-mode-hook
|
|
clojure-mode-hook))
|
|
|