From 44d08f35cbf00cbc1d6141d7adb7d6941077f296 Mon Sep 17 00:00:00 2001 From: Tom Gillespie Date: Wed, 12 Feb 2020 09:37:04 +0100 Subject: [PATCH] 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 --- testing/org-test.el | 1 + 1 file changed, 1 insertion(+) diff --git a/testing/org-test.el b/testing/org-test.el index c3e21eb30..6904e16d1 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))