From f18ea108aac35554a675bae46580daf2edd0ab09 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Sun, 4 Mar 2012 14:38:57 +0100 Subject: [PATCH] test-org-export: Fix broken test * testing/lisp/test-org-export.el (test-org-export/export-scope): In batch mode, `transient-mark-mode' must be turned on. --- testing/lisp/test-org-export.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/testing/lisp/test-org-export.el b/testing/lisp/test-org-export.el index 034a9eab0..3a86dcb6e 100644 --- a/testing/lisp/test-org-export.el +++ b/testing/lisp/test-org-export.el @@ -229,7 +229,9 @@ text ;; Region. (goto-char (point-min)) (forward-line 3) - (mark-paragraph) + (transient-mark-mode 1) + (push-mark (point) t t) + (goto-char (point-at-eol)) (should (equal (org-export-as 'test) "text\n"))))) (ert-deftest test-org-export/export-snippet ()