emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/paredit 41bbc20 078/224: Make `paredit-comment-dwim' code


From: ELPA Syncer
Subject: [nongnu] elpa/paredit 41bbc20 078/224: Make `paredit-comment-dwim' code comment example work in isolation.
Date: Sat, 7 Aug 2021 09:22:23 -0400 (EDT)

branch: elpa/paredit
commit 41bbc20233194fc63b017b27a0d1ad6f831b4719
Author: Taylor R Campbell <campbell@mumble.net>
Commit: Taylor R Campbell <campbell@mumble.net>

    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 ...)"))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]