summary refs log tree commit diff stats
path: root/tag-emacs
diff options
context:
space:
mode:
Diffstat (limited to 'tag-emacs')
-rw-r--r--tag-emacs/emacs.d/init.el13
1 files changed, 4 insertions, 9 deletions
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-<backspace>" #'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-<backspace>" #'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))