Fix Electric Pair mode's autowrapping tests in batch-mode.
[bpt/emacs.git] / test / automated / electric-tests.el
index 28a3475..44d602d 100644 (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