summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/init-elisp.el16
1 files changed, 1 insertions, 15 deletions
diff --git a/lisp/init-elisp.el b/lisp/init-elisp.el
index 8ec711d..a6cee16 100644
--- a/lisp/init-elisp.el
+++ b/lisp/init-elisp.el
@@ -1,18 +1,4 @@
-(autoload 'enable-paredit-mode "paredit"
- "Turn on pseudo-structural editing of Lisp code."
- t)
-
-(add-hook 'emacs-lisp-mode-hook 'enable-paredit-mode)
-
-(after 'paredit
- (define-key paredit-mode-map (kbd "C-,") 'paredit-forward-slurp-sexp)
- (define-key paredit-mode-map (kbd "C-.") 'paredit-forward-barf-sexp)
- (define-key paredit-mode-map (kbd "C-M-,") 'paredit-backward-slurp-sexp)
- (define-key paredit-mode-map (kbd "C-M-.") 'paredit-backward-barf-sexp)
-
- ;; Don't let `paredit-splice-sexp' override default 'M-s' map.
- (define-key paredit-mode-map (kbd "M-s") nil)
- (define-key paredit-mode-map (kbd "M-p") 'paredit-splice-sexp))
+(add-hook 'emacs-lisp-mode-hook 'lispy-mode)
(provide 'init-elisp)