summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--paredit.el20
1 files changed, 10 insertions, 10 deletions
diff --git a/paredit.el b/paredit.el
index 3a04ca3..0f7a990 100644
--- a/paredit.el
+++ b/paredit.el
@@ -2425,16 +2425,16 @@ Automatically reindent the barfed S-expression and the form from which
((or (paredit-in-comment-p)
(paredit-in-char-p))
(error "Invalid context for splitting S-expression."))
- (t (let ((open (save-excursion (backward-up-list)
- (char-after)))
- (close (save-excursion (up-list)
- (char-before))))
- (delete-horizontal-space)
- (insert close)
- (save-excursion (insert ?\ )
- (insert open)
- (backward-char)
- (indent-sexp))))))
+ (t
+ (let ((open (save-excursion (backward-up-list) (char-after)))
+ (close (save-excursion (up-list) (char-before))))
+ (delete-horizontal-space)
+ (insert close)
+ (save-excursion
+ (insert ?\ )
+ (insert open)
+ (backward-char)
+ (indent-sexp))))))
(defun paredit-join-sexps ()
"Join the S-expressions adjacent on either side of the point.