Procházet zdrojové kódy

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 před 5 roky
rodič
revize
44d08f35cb
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  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))