summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Gillespie <tgbugs@gmail.com>2020-02-12 09:37:04 +0100
committerBastien <bzg@gnu.org>2020-02-12 09:37:04 +0100
commit44d08f35cbf00cbc1d6141d7adb7d6941077f296 (patch)
tree1d42636b384e90ec7163cc6cadee06deb6e303c1
parent76ac192c4f23220a9be7612b8b450573e412dab4 (diff)
downloadorg-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.el1
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))