bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#33798: 27.0.50; font-lock-ensure fontifies the whole buffer


From: Stefan Monnier
Subject: bug#33798: 27.0.50; font-lock-ensure fontifies the whole buffer
Date: Tue, 18 Dec 2018 18:54:33 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Hi Jury,

> (with-temp-buffer
>   (insert "#include <stdio.h>\n\nmain()\n{\n printf(\"Hello, world\");\n}")
>   (c-mode)
>   (font-lock-ensure 21 (point-max))
>   (get-text-property (point-min) 'face))

Is this testcase representative of what diff-mode does?


        Stefan





reply via email to

[Prev in Thread] Current Thread [Next in Thread]