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.
This commit is contained in:
parent
4446e50e3d
commit
07d11a6847
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue