diff options
author | David Maus <dmaus@ictsoc.de> | 2011-09-25 09:26:50 +0200 |
---|---|---|
committer | David Maus <dmaus@ictsoc.de> | 2011-09-25 09:26:50 +0200 |
commit | 07d11a68474b4f381ba7bcfcd376a01f5c90f8e1 (patch) | |
tree | 22d2ee8bf5223ef7866ac43e6af538814c0486c2 | |
parent | 4446e50e3d6da6eae8ad31f35063914b74d12867 (diff) | |
download | org-mode-07d11a68474b4f381ba7bcfcd376a01f5c90f8e1.tar.gz |
Make sure Org mode is turned on after loading the example file
* org-test.el (org-test-in-example-file): Make sure Org mode is turned
on after loading the example file.
-rw-r--r-- | testing/org-test.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/testing/org-test.el b/testing/org-test.el index 48376d3..9e80844 100644 --- a/testing/org-test.el +++ b/testing/org-test.el @@ -148,6 +148,8 @@ currently executed.") (save-window-excursion (save-match-data (find-file my-file) + (unless (org-mode-p) + (org-mode)) (setq to-be-removed (current-buffer)) (goto-char (point-min)) (condition-case nil |