From: Daniel Fleischer <danflscr@gmail.com>
To: emacs-orgmode@gnu.org
Subject: How to add font-lock keywords
Date: Sat, 11 Dec 2021 13:21:13 +0200 [thread overview]
Message-ID: <m2lf0r4cba.fsf@gmail.com> (raw)
Hi, I want to add custom keywords to be highlighted. I used
(font-lock-add-keywords nil '(("books" . org-level-4)) t)
but nothing happens after I restart orgmode or call 'font-lock-update'.
--
Daniel Fleischer
next reply other threads:[~2021-12-11 11:21 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-11 11:21 Daniel Fleischer [this message]
2021-12-21 19:35 ` How to add font-lock keywords Bruno Barbier
2021-12-23 8:20 ` Daniel Fleischer
-- strict thread matches above, loose matches on Subject: below --
2011-08-23 17:51 how " Le Wang
2011-08-24 1:01 ` John Wiegley
2011-08-24 1:17 ` John Wiegley
2011-08-24 4:25 ` Le Wang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m2lf0r4cba.fsf@gmail.com \
--to=danflscr@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).