[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/paredit 4fdd1b7 172/224: In test.el, use (delete-char -1),
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/paredit 4fdd1b7 172/224: In test.el, use (delete-char -1), not backward-delete-char. |
Date: |
Sat, 7 Aug 2021 09:22:43 -0400 (EDT) |
branch: elpa/paredit
commit 4fdd1b73a712a194bc0e7de401aa3e6c16df719e
Author: Taylor R Campbell <campbell@mumble.net>
Commit: Taylor R Campbell <campbell@mumble.net>
In test.el, use (delete-char -1), not backward-delete-char.
@#&!#!&* GNU Emacs 24 changed the semantics of `backward-delete-char'
so that it deletes the region in transient mark mode. The rest of
paredit will need to be changed to reflect this too -- argh.
---
test.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/test.el b/test.el
index c610ba4..eb7ef04 100644
--- a/test.el
+++ b/test.el
@@ -42,10 +42,10 @@ Four arguments: the paredit command, the text of the buffer
(insert before)
(goto-char (point-min))
(if (search-forward "_" nil t)
- (progn (backward-delete-char +1) (set-mark (point))))
+ (progn (delete-char -1) (set-mark (point))))
(goto-char (point-min))
(search-forward "|")
- (backward-delete-char +1)
+ (delete-char -1)
(if (cond ((eq expected 'error)
;++ Check that there are no more expected states.
(condition-case condition
- [nongnu] elpa/paredit de2dc8e 127/224: Add some trivial tests for `paredit-wrap-sexp'., (continued)
- [nongnu] elpa/paredit de2dc8e 127/224: Add some trivial tests for `paredit-wrap-sexp'., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit 2463273 130/224: Add tests for region deletion across comment boundaries., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit d1b562b 133/224: Fix `paredit-backslash' within a character literal., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit 239e065 136/224: Expand `paredit-kill' tests a little., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit 9780ff5 150/224: Add CREDITS file from 2011-05-08. Needs some additions since then., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit e01d5d9 151/224: Add `megane' from a slightly newer list of credits, 2011-08-30., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit 72b1fc7 152/224: Bump copyright year to 2013., ELPA Syncer, 2021/08/07
- [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 <=
- [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, 2021/08/07
- [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