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

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

[nongnu] elpa/paredit 04e6f50 035/224: Put space between closing delimit


From: ELPA Syncer
Subject: [nongnu] elpa/paredit 04e6f50 035/224: Put space between closing delimiters and opening double quotes.
Date: Sat, 7 Aug 2021 09:22:13 -0400 (EDT)

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

    Put space between closing delimiters and opening double quotes.
    
    darcs-hash:20090711134828-00fcc-63df8cebaa7c8a165fda345100b1bb852a5eed00
---
 paredit.el | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/paredit.el b/paredit.el
index 6fc8de7..dd25bab 100644
--- a/paredit.el
+++ b/paredit.el
@@ -780,7 +780,10 @@ If such a comment exists, delete the comment (including 
all leading
        (memq (char-syntax (if endp (char-after) (char-before)))
              (list ?w ?_ ?\"
                    (let ((matching (matching-paren delimiter)))
-                     (and matching (char-syntax matching)))))))
+                     (and matching (char-syntax matching)))
+                   (and (not endp)
+                        (eq ?\" (char-syntax delimiter))
+                        ?\) )))))
 
 (defun paredit-move-past-close-and-reindent (close)
   (let ((open (paredit-missing-close)))



reply via email to

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