summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTaylor R Campbell <campbell@mumble.net>2011-05-07 22:04:34 +0000
committerTaylor R Campbell <campbell@mumble.net>2011-05-07 22:04:34 +0000
commit4cb911230827a2ff437c13369fbb6fafe975f08b (patch)
tree86ed05789f23051899fd1bbd2fb80863bc8f8950
parenta795774d3219c9a681356149ce8e46a6854a503e (diff)
Fix `kill-line' tests now that `show-trailing-whitespace' is nil.
Ignore-this: ac26793e9b31dc27c6cd85af25f4a4f2 Grumble. darcs-hash:20110507220434-00fcc-9e8f7464ef213864d098eec4f6f356039401d967
-rw-r--r--test.el8
1 files changed, 7 insertions, 1 deletions
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)