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: Christopher Dimech
Subject: Re: font-lock as a single command
Date: Sat, 13 Feb 2021 07:55:12 +0100

I have solved my problem. I just needed "(font-lock-flush)".

To disable, I am simply resetting "deviat-supinf" and
"height-scale-supinf".





> Sent: Saturday, February 13, 2021 at 6:20 PM
> From: "Emanuel Berg via Users list for the GNU Emacs text editor" 
> <help-gnu-emacs@gnu.org>
> To: help-gnu-emacs@gnu.org
> Subject: Re: font-lock as a single command
>
> 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]