From 8a6212d71de51594bea1231c90152735615d7a38 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jo=C3=A3o=20T=C3=A1vora?= Date: Fri, 27 Dec 2013 18:05:03 +0000 Subject: [PATCH] Fix Electric Pair mode's autowrapping tests in batch-mode. --- test/ChangeLog | 7 ++++++- test/automated/electric-tests.el | 3 ++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/test/ChangeLog b/test/ChangeLog index f45e4de11f5..84ba9b72a0f 100644 --- a/test/ChangeLog +++ b/test/ChangeLog @@ -1,4 +1,9 @@ -2013-12-26 João Távora +2013-12-26 João Távora + * automated/electric-tests.el (electric-pair-test-for): Fix + autowrapping tests in batch-mode by running with + `transient-mark-mode' set to `lambda'. + +2013-12-26 João Távora * automated/electric-tests.el: Add tests for Electric Pair mode. 2013-12-25 Fabián Ezequiel Gallina diff --git a/test/automated/electric-tests.el b/test/automated/electric-tests.el index 28a34752ecf..44d602d47ec 100644 --- a/test/automated/electric-tests.el +++ b/test/automated/electric-tests.el @@ -52,7 +52,8 @@ (funcall mode) (insert fixture) (save-electric-modes - (let ((last-command-event char)) + (let ((last-command-event char) + (transient-mark-mode 'lambda)) (goto-char where) (funcall fixture-fn) (cl-progv -- 2.39.2