about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorDavid Morgan <djm_uk@protonmail.com>2021-09-22 16:35:11 +0100
committerDavid Morgan <djm_uk@protonmail.com>2021-09-22 16:35:11 +0100
commit0c5ce2b825b15c7f77ff09f6ed48a7762b298142 (patch)
tree80eba43a3e1d244a3d34910c4cbfcd5980b83860
parent52446c41c54f05b3e25b43bb4b6ceaa625561cac (diff)
downloaddotfiles-0c5ce2b825b15c7f77ff09f6ed48a7762b298142.tar.gz
Tweak paredit changes
-rw-r--r--.emacs.d/lisp/init-paredit.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/.emacs.d/lisp/init-paredit.el b/.emacs.d/lisp/init-paredit.el
index bfcb121..2c873f1 100644
--- a/.emacs.d/lisp/init-paredit.el
+++ b/.emacs.d/lisp/init-paredit.el
@@ -19,6 +19,7 @@
   :diminish
   :bind
   (:map paredit-mode-map
+        ([remap mark-sexp] . sp-mark-sexp)
         ("M-[" . paredit-smart-wrap-square)
         ("C-c M-{" . paredit-smart-wrap-curly)
         ("C-c M-<" . paredit-smart-wrap-angled)
@@ -27,7 +28,7 @@
         ("M-W" . paredit-copy-as-kill))
   :config
   (defmacro define-paredit-smart-wrap (name)
-    `(defun ,(paredit-conc-name "paredit-smart-wrap-" name)
+    `(defun ,(intern (concat  "paredit-smart-wrap-" name))
          (&optional argument)
        ,(concat "Wrap the following S-expression, from the beginning of the current symbol.
 See `paredit-wrap-sexp' for more details.