diff options
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/init-elisp.el | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lisp/init-elisp.el b/lisp/init-elisp.el index 862ca06..fa66852 100644 --- a/lisp/init-elisp.el +++ b/lisp/init-elisp.el @@ -10,6 +10,10 @@ (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)) + (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)) (provide 'init-elisp) |