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
This commit is contained in:
Tom Gillespie 2020-02-12 09:37:04 +01:00 committed by Bastien
parent 76ac192c4f
commit 44d08f35cb
1 changed files with 1 additions and 0 deletions

View File

@ -199,6 +199,7 @@ otherwise place the point at the beginning of the inserted text."
(goto-char (1+ (match-beginning 0)))) (goto-char (1+ (match-beginning 0))))
(insert inside-text) (insert inside-text)
(goto-char (point-min)))) (goto-char (point-min))))
(font-lock-ensure (point-min) (point-max))
,@body))) ,@body)))
(def-edebug-spec org-test-with-temp-text (form body)) (def-edebug-spec org-test-with-temp-text (form body))