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 01:08:22 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Christopher Dimech wrote:

> (font-lock-add-keywords MODE KEYWORDS &optional HOW)
>
> What does the optional HOW actually do?

It is actually described in the docstring:

  If optional argument HOW is ‘set’, they are used to replace
  the current highlighting list. If HOW is any other non-nil
  value, they are added at the end of the current
  highlighting list.

-- 
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]