Fix Electric Pair mode's autowrapping tests in batch-mode.

This commit is contained in:
João Távora 2013-12-27 18:05:03 +00:00
parent 7c8114cb5f
commit 8a6212d71d
2 changed files with 8 additions and 2 deletions

View file

@ -1,4 +1,9 @@
2013-12-26 João Távora <joaotavora@gmail.com>
2013-12-26 João Távora <joaotavora@gmail.com>
* 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 <joaotavora@gmail.com>
* automated/electric-tests.el: Add tests for Electric Pair mode.
2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>

View file

@ -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