summaryrefslogtreecommitdiff
path: root/test.el
diff options
context:
space:
mode:
authorTaylor R Campbell <campbell@mumble.net>2014-01-28 20:48:18 +0000
committerTaylor R Campbell <campbell@mumble.net>2014-01-28 20:48:18 +0000
commit67d6a4f5ad505af98a311bd955dbe7bd2fc4e0b1 (patch)
tree494d8d2c42d140fb6b0eb7d98d623cf3211a9337 /test.el
parentc39e4853d30b281a35bb0f376893735fd0d5cb99 (diff)
Let C-d and DEL delete the other spurious delimiters too.
Diffstat (limited to 'test.el')
-rw-r--r--test.el8
1 files changed, 6 insertions, 2 deletions
diff --git a/test.el b/test.el
index 229c0bf..f3444af 100644
--- a/test.el
+++ b/test.el
@@ -287,7 +287,9 @@ Four arguments: the paredit command, the text of the buffer
("|\\\\\\\\" "|\\\\" "|" error)
("\\\\|\\\\" "\\\\|" error)
("(|\\\\\\\\)" "(|\\\\)" "(|)" "|" error)
- ("(\\\\|\\\\)" "(\\\\|)" "(\\\\|)")))
+ ("(\\\\|\\\\)" "(\\\\|)" "(\\\\|)")
+ ("|(" "|" error)
+ ("|)" "|" error)))
(paredit-test 'paredit-backward-delete
'(("fo|o" "f|o")
@@ -304,7 +306,9 @@ Four arguments: the paredit command, the text of the buffer
("\\\\\\\\|" "\\\\|" "|" error)
("\\\\|\\\\" "|\\\\" error)
("(\\\\\\\\|)" "(\\\\|)" "(|)" "|" error)
- ("(\\\\|\\\\)" "(|\\\\)" "(|\\\\)")))
+ ("(\\\\|\\\\)" "(|\\\\)" "(|\\\\)")
+ ("(|" "|" error)
+ (")|" "|" error)))
(dolist (command '(paredit-delete-region paredit-kill-region))
;++ Need to check whether `paredit-kill-region' updates the kill ring