[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/paredit e775e43 187/224: Tweak whitespace in `paredit-spli
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/paredit e775e43 187/224: Tweak whitespace in `paredit-split-sexp'. No functional change. |
Date: |
Sat, 7 Aug 2021 09:22:47 -0400 (EDT) |
branch: elpa/paredit
commit e775e4346c2e0304733b017025fb292b786b3286
Author: Taylor R Campbell <campbell@mumble.net>
Commit: Taylor R Campbell <campbell@mumble.net>
Tweak whitespace in `paredit-split-sexp'. No functional change.
---
paredit.el | 20 ++++++++++----------
1 file 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.
- [nongnu] elpa/paredit 2186c7e 155/224: Update URI references: nix paredit-23.el, add Git repository., (continued)
- [nongnu] elpa/paredit 2186c7e 155/224: Update URI references: nix paredit-23.el, add Git repository., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit 427d8e1 160/224: Add a pile of `paredit-backward-barf-sexp' tests., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit 758c896 170/224: Add some notes for version 24., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit 4fdd1b7 172/224: In test.el, use (delete-char -1), not backward-delete-char., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit 4c7ac6e 173/224: Avoid `backward-delete-char', which GNU Emacs 24 broke., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit db99ca6 176/224: Note `backward-delete-char' lossage in NEWS., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit aa26b48 181/224: Make sure M-? leaves space appropriately when there was none., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit da5b1e0 183/224: Flesh out paredit-wrap-... tests a little., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit 3ab28ec 185/224: Revert "Bind M-[ to paredit-wrap-square.", ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit c33e134 186/224: Fix reference to `backward-down-list', which is no more., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit e775e43 187/224: Tweak whitespace in `paredit-split-sexp'. No functional change.,
ELPA Syncer <=
- [nongnu] elpa/paredit 66d6374 189/224: Tweak HTML output a little more., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit f8bf24c 192/224: Allow slurping while in a character., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit 146a434 194/224: Add some slurp tests with characters and strings., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit c92197a 196/224: Tweak comment about barfage error., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit 67d6a4f 202/224: Let C-d and DEL delete the other spurious delimiters too., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit ad27e64 203/224: Remove beta marker from 24 in NEWS., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit aec81db 206/224: Quote M-mode-hook for add-hook in example .emacs fragment., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit 2f6f672 210/224: Add email address., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit 6ee9f06 213/224: Bump copyright year to 2017., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit 0b523c3 215/224: Switch http://mumble.net to https://mumble.net., ELPA Syncer, 2021/08/07