aboutsummaryrefslogtreecommitdiffstats
path: root/test/lisp/simple-tests.el
diff options
context:
space:
mode:
authorAlan Mackenzie2017-02-12 10:59:03 +0000
committerAlan Mackenzie2017-02-12 10:59:03 +0000
commitf4d5b687150810129b7a1d5b006e31ccf82b691b (patch)
tree4229b13800349032697daae3904dc3773e6b7a80 /test/lisp/simple-tests.el
parentd5514332d4a6092673ce1f78fadcae0c57f7be64 (diff)
parent148100d98319499f0ac6f57b8be08cbd14884a5c (diff)
downloademacs-comment-cache.tar.gz
emacs-comment-cache.zip
Merge branch 'master' into comment-cachecomment-cache
Diffstat (limited to 'test/lisp/simple-tests.el')
-rw-r--r--test/lisp/simple-tests.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/lisp/simple-tests.el b/test/lisp/simple-tests.el
index 6194cada1c6..f4849c4b21d 100644
--- a/test/lisp/simple-tests.el
+++ b/test/lisp/simple-tests.el
@@ -30,8 +30,9 @@
30 (insert "(a b") 30 (insert "(a b")
31 (save-excursion (insert " c d)")) 31 (save-excursion (insert " c d)"))
32 ,@body 32 ,@body
33 (cons (buffer-substring (point-min) (point)) 33 (with-no-warnings
34 (buffer-substring (point) (point-max))))) 34 (cons (buffer-substring (point-min) (point))
35 (buffer-substring (point) (point-max))))))
35 36
36 37
37(defmacro simple-test--transpositions (&rest body) 38(defmacro simple-test--transpositions (&rest body)
@@ -266,7 +267,6 @@
266 (with-temp-buffer 267 (with-temp-buffer
267 (setq buffer-undo-list nil) 268 (setq buffer-undo-list nil)
268 (insert "hello") 269 (insert "hello")
269 (car buffer-undo-list)
270 (undo-auto--boundaries 'test)))) 270 (undo-auto--boundaries 'test))))
271 271
272;;; Transposition with negative args (bug#20698, bug#21885) 272;;; Transposition with negative args (bug#20698, bug#21885)