summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTaylor R Campbell <campbell@mumble.net>2009-07-11 13:48:28 +0000
committerTaylor R Campbell <campbell@mumble.net>2009-07-11 13:48:28 +0000
commit04e6f50cba3603395583d8f7db1a5b47aaae32d3 (patch)
treec52bfbfc9f90b363fc3ccc79de6afa0df683fa6d
parent446316e7c2d9de0ce050f97b1ef0b623192d6f7c (diff)
Put space between closing delimiters and opening double quotes.
darcs-hash:20090711134828-00fcc-63df8cebaa7c8a165fda345100b1bb852a5eed00
-rw-r--r--paredit.el5
1 files changed, 4 insertions, 1 deletions
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)))