summaryrefslogtreecommitdiff
path: root/paredit.el
diff options
context:
space:
mode:
authorTaylor R Campbell <campbell@mumble.net>2011-03-20 17:41:13 +0000
committerTaylor R Campbell <campbell@mumble.net>2011-03-20 17:41:13 +0000
commit2b094afae39ff239eef85134fd7b67dc8ae4710f (patch)
treeaf9661cf959d0b6a8333da028ac7fe3547000ce6 /paredit.el
parent2a64a4c60a8626ba2c359294cb89b855b1d893f2 (diff)
Bind M-? to `paredit-convolute-sexp'.
Ignore-this: 316cb4a43f14464fbcc655c61926f177 Thanks to Eitan Postavsky for the suggestion. darcs-hash:20110320174113-00fcc-bc6d366e415e031be7bb6faa7353caabcd3d9c57
Diffstat (limited to 'paredit.el')
-rw-r--r--paredit.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/paredit.el b/paredit.el
index 63272c0..22927bf 100644
--- a/paredit.el
+++ b/paredit.el
@@ -417,6 +417,9 @@ Paredit behaves badly if parentheses are imbalanced, so exercise
("(dynamic-wind in (lambda () |body) out)"
"(dynamic-wind in |body out)"
"|body"))
+ ("M-?" paredit-convolute-sexp
+ ("(let ((x 5) (y 3)) (frob |(zwonk)) (wibblethwop))"
+ "|(frob (let ((x 5) (y 3)) (zwonk) (wibblethwop)))"))
"Barfage & Slurpage"
(("C-)" "C-<right>")