summaryrefslogtreecommitdiff
path: root/paredit.el
diff options
context:
space:
mode:
authorTaylor R Campbell <campbell@mumble.net>2013-07-08 14:02:39 +0000
committerTaylor R Campbell <campbell@mumble.net>2013-07-08 14:02:39 +0000
commite775e4346c2e0304733b017025fb292b786b3286 (patch)
treeace4acf3db1ede279d404eba3b7efe4958ef6bcc /paredit.el
parentc33e13425343e2f87f37ece5acb9e2530b5a625a (diff)
Tweak whitespace in `paredit-split-sexp'. No functional change.
Diffstat (limited to 'paredit.el')
-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.