[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/paredit 6c14694 113/224: Use `call-interactively' rather t
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/paredit 6c14694 113/224: Use `call-interactively' rather than `funcall' in `paredit-test'. |
Date: |
Sat, 7 Aug 2021 09:22:31 -0400 (EDT) |
branch: elpa/paredit
commit 6c14694056158ee8fb86baeb0975fbd20e735ce3
Author: Taylor R Campbell <campbell@mumble.net>
Commit: Taylor R Campbell <campbell@mumble.net>
Use `call-interactively' rather than `funcall' in `paredit-test'.
Ignore-this: 12e8ee22270320abed65e401d2f0b267
This more faithfully tests the behaviour human users will see, and it
lets us also use `current-prefix-arg', &c., to test more modes of the
commands.
darcs-hash:20110409192317-00fcc-5d0b0bf50b928d8adf5658afa3d63cdb788405ec
---
test.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/test.el b/test.el
index 87b5fad..0b964d4 100644
--- a/test.el
+++ b/test.el
@@ -47,10 +47,10 @@ Four arguments: the paredit command, the text of the buffer
(if (cond ((eq expected 'error)
;++ Check that there are no more expected states.
(condition-case condition
- (progn (funcall command) t)
+ (progn (call-interactively command) t)
(error nil)))
((stringp expected)
- (funcall command)
+ (call-interactively command)
(insert ?\|)
(not (string= expected (buffer-string))))
(t (error "Bad test expectation:" expected)))
- [nongnu] elpa/paredit 48480a1 084/224: Omit needless line break in `paredit-join-sexps'., (continued)
- [nongnu] elpa/paredit 48480a1 084/224: Omit needless line break in `paredit-join-sexps'., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit 4d3ad1e 069/224: Simplify definition of `paredit-count-sexps-forward'., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit 8a2d457 093/224: Reindent in `paredit-open-round' &c. like `paredit-wrap-round' &c., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit 980a4f4 091/224: Add rudimentary and preliminary test suite., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit 33f9c67 100/224: Use `error', not `message', to report test failures in test.el., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit 79e7555 086/224: Be more careful about deleting comment starts & ends., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit 121a8b4 104/224: Make backslash escape prompt less confusing., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit 41bbc20 078/224: Make `paredit-comment-dwim' code comment example work in isolation., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit 5e210b2 087/224: Fix bug in recent change to more carefully delete comment ends., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit d9ecc6d 094/224: Handle scan errors in `paredit-scan-sexps-hack'., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit 6c14694 113/224: Use `call-interactively' rather than `funcall' in `paredit-test'.,
ELPA Syncer <=
- [nongnu] elpa/paredit 9cac6fa 106/224: Specify that paredit should work in XEmacs 21.5.28 or later., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit 0bb4b62 110/224: Check for expected errors in `paredit-close-FOO'., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit 3c48233 122/224: Fix checks on deletion of comment boundaries., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit 620c3a2 116/224: Break page in test.el before indentation regression tests., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit d681e3c 111/224: Check for expected errors in `paredit-forward-delete'., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit 5dc93f9 114/224: Omit redundant `paredit-forward-delete' test., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit 0cd0011 109/224: Implement expected errors in test suite., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit 8ee8f13 118/224: Fix `paredit-insert-pair' when buffer ends with no-newline comment., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit fc78011 121/224: Tweak `paredit-check-region' and `paredit-region-ok-p'., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit 621be23 124/224: Add some tests for recent changes to deletion and killing commands., ELPA Syncer, 2021/08/07