diff options
| author | Taylor R Campbell <campbell@mumble.net> | 2011-03-22 07:46:09 +0000 | 
|---|---|---|
| committer | Taylor R Campbell <campbell@mumble.net> | 2011-03-22 07:46:09 +0000 | 
| commit | 41bbc20233194fc63b017b27a0d1ad6f831b4719 (patch) | |
| tree | 275718a8dfdad4b45f12c1900672d75f2ca706a0 | |
| parent | ae53a2cb81143edbfebaf876f06d18a444163862 (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
| -rw-r--r-- | paredit.el | 8 | 
1 files changed, 4 insertions, 4 deletions
| @@ -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 ...)")) | 
