emacs-devel
[Top][All Lists]
Advanced

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

Font-lock in a buffer inserted in Dired buffer?


From: Arthur Miller
Subject: Font-lock in a buffer inserted in Dired buffer?
Date: Thu, 26 Nov 2020 17:21:09 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Attachment: dired-auto-readme.el
Description: Text document

I am opening a file in it's own buffer, and hoping trying to get Emacs
to font-lock it. I am not sure if font-lock will do it's thing when
buffer is loaded or when it is displayed so I am calling
(font-lock-ensure) to get it to (hopefully) kick-in. I see also dired is
trying to font-lock inserted text.

1. what do I need to call to make it to font-lock
2. how do I tell Dired to give crap to font-lock the text after the
   insertion? Can I disable just a region from font-lock?

Thanks for any help!

reply via email to

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