dotfiles/.emacs.d/init.d/lisp.el

24 lines
916 B
EmacsLisp
Raw Normal View History

;; 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)
2014-08-26 12:22:16 +00:00
(paredit-mode 1)
(rainbow-delimiters-mode 1)
(rainbow-identifiers-mode 1)))
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