[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to add font-lock keywords
From: |
Daniel Fleischer |
Subject: |
Re: How to add font-lock keywords |
Date: |
Thu, 23 Dec 2021 10:20:58 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (darwin) |
Bruno Barbier [2021-12-21 Tue 20:35] wrote:
> The following works for me, in an org mode buffer:
>
> ,----
> | (font-lock-add-keywords nil '(("books" . 'org-level-4)) t)
> `----
> No need to call font-lock-update or restart: any new or modified text
> gets the new fontification.
Thanks, it works with the quote.
--
Daniel Fleischer