[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/paredit a795774 143/224: Set `show-trailing-whitespace' to
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/paredit a795774 143/224: Set `show-trailing-whitespace' to nil when running tests. |
Date: |
Sat, 7 Aug 2021 09:22:37 -0400 (EDT) |
branch: elpa/paredit
commit a795774d3219c9a681356149ce8e46a6854a503e
Author: Taylor R Campbell <campbell@mumble.net>
Commit: Taylor R Campbell <campbell@mumble.net>
Set `show-trailing-whitespace' to nil when running tests.
Ignore-this: 29d39397a5e43d31b9855e75e38430ab
darcs-hash:20110507220356-00fcc-3d492593405908a1fec3be631241abb4268e6dcf
---
test.el | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/test.el b/test.el
index f76f6cc..5a5d9ec 100644
--- a/test.el
+++ b/test.el
@@ -37,9 +37,7 @@ Four arguments: the paredit command, the text of the buffer
(let ((before (car example)))
(dolist (expected (cdr example))
(with-temp-buffer
- (scheme-mode)
- (set (make-local-variable 'indent-tabs-mode) nil)
- (set (make-local-variable 'comment-column) 40)
+ (paredit-test-buffer-setup)
(insert before)
(goto-char (point-min))
(if (search-forward "_" nil t)
@@ -60,6 +58,12 @@ Four arguments: the paredit command, the text of the buffer
(paredit-test-failed command before (buffer-string) expected)))
(setq before expected)))))
+(defun paredit-test-buffer-setup ()
+ (scheme-mode)
+ (set (make-local-variable 'indent-tabs-mode) nil)
+ (set (make-local-variable 'comment-column) 40)
+ (set (make-local-variable 'show-trailing-whitespace) nil))
+
(paredit-do-commands (spec keys command examples)
nil ;string case
;; `paredit-backslash' has a funny example.
- [nongnu] elpa/paredit ae53a2c 077/224: Show point in `paredit-semicolon' example., (continued)
- [nongnu] elpa/paredit ae53a2c 077/224: Show point in `paredit-semicolon' example., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit 26a3ddb 085/224: Add `paredit-doublequote' examples at end of string and in comment., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit 33463ae 102/224: Third argument to `indent-region' is not optional in GNU Emacs 21., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit c91bc2f 099/224: Fix bug in change to check structure in backward-delete of comment end., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit 7e3b3f0 096/224: In `paredit-recenter-on-sexp', handle S-expressions larger than screen., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit 6918d89 108/224: Don't indent while the buffer is in intermediate broken states., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit adfccc5 123/224: Check `paredit-kill' in a comment more carefully., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit 23afafc 128/224: Add some trivial tests for region deletion/killing commands., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit 2e61740 134/224: Fix docstring of `paredit-check-region-for-delete'., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit eb138b5 135/224: Replace `paredit-wrap-sexp' tests by `paredit-wrap-round' &c. tests., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit a795774 143/224: Set `show-trailing-whitespace' to nil when running tests.,
ELPA Syncer <=
- [nongnu] elpa/paredit f349cc5 003/224: Changes for version 7., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit f588dcb 007/224: Changes for version 11., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit a04d9b6 010/224: Changes for version 14, introducing fancy comment handling., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit 342fee5 017/224: Changes for version 21., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit 1bb9831 002/224: Changes for versions 2--6., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit 36f2f18 009/224: Changes for version 13., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit 446316e 034/224: Ignore errors while indenting after inserting a comment., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit fd2c399 049/224: Implement `paredit-kill-ring-save' and `paredit-kill-region'., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit 79b5d96 054/224: Bump version: 22 beta -> 23., ELPA Syncer, 2021/08/07
- [nongnu] elpa/paredit 3f6b294 062/224: Fix comment in `paredit-forward' on `up-list' vs `forward-char'., ELPA Syncer, 2021/08/07