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

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

Re: font-lock as a single command


From: Emanuel Berg
Subject: Re: font-lock as a single command
Date: Sat, 13 Feb 2021 07:20:29 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Christopher Dimech wrote:

> I am quite confident that I can use
> "(font-lock-fontify-buffer)". Do you agree?

The docstring says:

  This function is for interactive use only; in Lisp code use
  `font-lock-ensure' or `font-lock-flush' instead.
  Probably introduced at or before Emacs version 19.29.

So I'd say use (font-lock-flush) instead...

-- 
underground experts united
http://user.it.uu.se/~embe8573
https://dataswamp.org/~incal




reply via email to

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