summaryrefslogtreecommitdiff
path: root/paredit.el
diff options
context:
space:
mode:
authorTaylor R Campbell <campbell@mumble.net>2011-03-22 07:46:09 +0000
committerTaylor R Campbell <campbell@mumble.net>2011-03-22 07:46:09 +0000
commit41bbc20233194fc63b017b27a0d1ad6f831b4719 (patch)
tree275718a8dfdad4b45f12c1900672d75f2ca706a0 /paredit.el
parentae53a2cb81143edbfebaf876f06d18a444163862 (diff)
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
Diffstat (limited to 'paredit.el')
-rw-r--r--paredit.el8
1 files 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 ...)"))