branch: elpa/paredit
commit 41bbc20233194fc63b017b27a0d1ad6f831b4719
Author: Taylor R Campbell <[email protected]>
Commit: Taylor R Campbell <[email protected]>
Make `paredit-comment-dwim' code comment example work in isolation.
Ignore-this: 168f652fb4acfc783a92c0f7af2404eb
As it was written, `paredit-comment-dwim' would choose a top-level
comment instead. Wrapping the two forms in (zot ...) makes it
clearer what's going on anyway.
darcs-hash:20110322074609-00fcc-a04368f7f7905ff131ccbf70a6a761a89178dcc8
---
paredit.el | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/paredit.el b/paredit.el
index 0312cb3..2e094b9 100644
--- a/paredit.el
+++ b/paredit.el
@@ -327,10 +327,10 @@ Paredit behaves badly if parentheses are imbalanced, so
exercise
"(foo bar) ; |baz")
("(frob grovel)|"
"(frob grovel) ;|")
- (" (foo bar)\n|\n (baz quux)"
- " (foo bar)\n ;; |\n (baz quux)")
- (" (foo bar) |(baz quux)"
- " (foo bar)\n ;; |\n (baz quux)")
+ ("(zot (foo bar)\n|\n (baz quux))"
+ "(zot (foo bar)\n ;; |\n (baz quux))")
+ ("(zot (foo bar) |(baz quux))"
+ "(zot (foo bar)\n ;; |\n (baz quux))")
("|(defun hello-world ...)"
";;; |\n(defun hello-world ...)"))