Explorar o código

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
Tom Gillespie %!s(int64=5) %!d(string=hai) anos
pai
achega
44d08f35cb
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      testing/org-test.el

+ 1 - 0
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))