branch: elpa/paredit
commit 4cb911230827a2ff437c13369fbb6fafe975f08b
Author: Taylor R Campbell <[email protected]>
Commit: Taylor R Campbell <[email protected]>
Fix `kill-line' tests now that `show-trailing-whitespace' is nil.
Ignore-this: ac26793e9b31dc27c6cd85af25f4a4f2
Grumble.
darcs-hash:20110507220434-00fcc-9e8f7464ef213864d098eec4f6f356039401d967
---
test.el | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/test.el b/test.el
index 5a5d9ec..c21e5f0 100644
--- a/test.el
+++ b/test.el
@@ -292,7 +292,13 @@ Four arguments: the paredit command, the text of the buffer
;++ Need to check whether `paredit-kill' updates the kill ring.
(paredit-test 'paredit-kill
- '(("| \n " "|\n " "| " "|" error)
+ '(("| \n "
+ ;; This ought to be an intermediate step, but evidently it is only
+ ;; in recent versions of GNU Emacs with `show-trailing-whitespace'
+ ;; set to thanks to some brain damage in `kill-line'.
+ ;;
+ ;; "|\n "
+ "| " "|" error)
("(| )" "(|)" "(|)")
("( | )" "( |)" "( |)")
("|(\n)" "|" error)