diff options
author | Taylor R Campbell <campbell@mumble.net> | 2013-07-06 20:51:44 +0000 |
---|---|---|
committer | Taylor R Campbell <campbell@mumble.net> | 2013-07-06 20:51:44 +0000 |
commit | a26c148244962c1365c185dbe154118c88183575 (patch) | |
tree | e26f54640de8baecc4c768613bb80f468e1c1e61 | |
parent | aa26b483d4437d317babfca722446a4d89c726d9 (diff) |
Bind M-[ to paredit-wrap-square.
-rw-r--r-- | NEWS | 1 | ||||
-rw-r--r-- | paredit.el | 3 |
2 files changed, 4 insertions, 0 deletions
@@ -15,6 +15,7 @@ The latest version of this file is available at ** Version 24 (beta) +*** New key binding: M-[ (paredit-wrap-square) *** C-M-f/C-M-b (paredit-forward/paredit-backward) now move out of strings. *** Changed M-" (paredit-meta-doublequote) to not break line, like M-). *** New command: paredit-meta-doublequote-and-newline has old behaviour. @@ -392,6 +392,9 @@ Paredit behaves badly if parentheses are unbalanced, so exercise ("M-(" paredit-wrap-round ("(foo |bar baz)" "(foo (|bar) baz)")) + ("M-[" paredit-wrap-square + ("(foo |bar baz)" + "(foo [|bar] baz)")) ("M-s" paredit-splice-sexp ("(foo (bar| baz) quux)" "(foo bar| baz quux)")) |