Tweak paredit changes

This commit is contained in:
David Morgan 2021-09-22 16:35:11 +01:00
parent 52446c41c5
commit 0c5ce2b825
1 changed files with 2 additions and 1 deletions

View File

@ -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.