diff options
author | Tom Gillespie <tgbugs@gmail.com> | 2020-02-12 09:37:04 +0100 |
---|---|---|
committer | Bastien <bzg@gnu.org> | 2020-02-12 09:37:04 +0100 |
commit | 44d08f35cbf00cbc1d6141d7adb7d6941077f296 (patch) | |
tree | 1d42636b384e90ec7163cc6cadee06deb6e303c1 | |
parent | 76ac192c4f23220a9be7612b8b450573e412dab4 (diff) | |
download | org-mode-44d08f35cbf00cbc1d6141d7adb7d6941077f296.tar.gz |
testing/org-test.el: Ensure font-lock is set in temp text
* testing/org-test.el (org-test-with-temp-text): Ensure
font-lock is set.
TINYCHANGE
-rw-r--r-- | testing/org-test.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/testing/org-test.el b/testing/org-test.el index c3e21eb..6904e16 100644 --- a/testing/org-test.el +++ b/testing/org-test.el @@ -199,6 +199,7 @@ otherwise place the point at the beginning of the inserted text." (goto-char (1+ (match-beginning 0)))) (insert inside-text) (goto-char (point-min)))) + (font-lock-ensure (point-min) (point-max)) ,@body))) (def-edebug-spec org-test-with-temp-text (form body)) |