From 3b04c6e3a0a5c8c18e6edf620b4a0af8055f168d Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 19 Sep 2014 19:56:21 +0100 Subject: Emacs: Fix smartparens load issues --- tag-emacs/emacs.d/init.el | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'tag-emacs') diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el index d5b693d..33bd9b3 100644 --- a/tag-emacs/emacs.d/init.el +++ b/tag-emacs/emacs.d/init.el @@ -1054,16 +1054,15 @@ mouse-1: Display Line and Column Mode Menu")))))) :config (progn (setq eldoc-idle-delay 0.1))) -(req-package smartparens - :defer t +(req-package smartparens-config :config (progn (sp-use-smartparens-bindings) (fset 'wrap-with-paren "\C-](") ;; `sp-select-next-thing-exchange' (bind-key "C-(" #'wrap-with-paren sp-keymap) (bind-key "C-)" #'sp-forward-slurp-sexp sp-keymap) - (bind-key "M-" #'backwarp-kill-word sp-keymap) - (bind-key "M-?" #'sp-convolute-sexp sp-keymap sp-keymap) - (bind-key "M-t" #'sp-transpose-sexp sp-keymap sp-keymap) + (bind-key "M-" #'backward-kill-word sp-keymap) + (bind-key "M-?" #'sp-convolute-sexp sp-keymap) + (bind-key "M-t" #'sp-transpose-sexp sp-keymap) (bind-key "M-r" #'sp-raise-sexp sp-keymap) (bind-key "M-s" #'sp-splice-sexp sp-keymap) (bind-key "M-S" #'sp-split-sexp sp-keymap) @@ -1073,10 +1072,6 @@ mouse-1: Display Line and Column Mode Menu")))))) (show-smartparens-global-mode t) (smartparens-global-strict-mode t))) -(req-package smartparens-config - :require smartparens - :defer t) - (req-package move-text :config (move-text-default-bindings)) -- cgit 1.4.1