From: João Távora Date: Fri, 27 Dec 2013 18:05:03 +0000 (+0000) Subject: Fix Electric Pair mode's autowrapping tests in batch-mode. X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~387^2~166 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8a6212d71de51594bea1231c90152735615d7a38;p=emacs.git Fix Electric Pair mode's autowrapping tests in batch-mode. --- 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