From 754bbf7a25a8dda49b5d08ef0d0443bbf5af0e36 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Sun, 7 Apr 2024 13:41:34 -0500 Subject: new repository --- devdocs/elisp/levels-of-font-lock.html | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 devdocs/elisp/levels-of-font-lock.html (limited to 'devdocs/elisp/levels-of-font-lock.html') diff --git a/devdocs/elisp/levels-of-font-lock.html b/devdocs/elisp/levels-of-font-lock.html new file mode 100644 index 00000000..cda661ba --- /dev/null +++ b/devdocs/elisp/levels-of-font-lock.html @@ -0,0 +1,9 @@ +

Levels of Font Lock

Some major modes offer three different levels of fontification. You can define multiple levels by using a list of symbols for keywords in font-lock-defaults. Each symbol specifies one level of fontification; it is up to the user to choose one of these levels, normally by setting font-lock-maximum-decoration (see Font Lock in the GNU Emacs Manual). The chosen level’s symbol value is used to initialize font-lock-keywords.

Here are the conventions for how to define the levels of fontification:

+

+ Copyright © 1990-1996, 1998-2022 Free Software Foundation, Inc.
Licensed under the GNU GPL license.
+ https://www.gnu.org/software/emacs/manual/html_node/elisp/Levels-of-Font-Lock.html +

+
-- cgit v1.2.3