branch: elpa/paredit
commit 04e6f50cba3603395583d8f7db1a5b47aaae32d3
Author: Taylor R Campbell <[email protected]>
Commit: Taylor R Campbell <[email protected]>
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)))