summaryrefslogtreecommitdiff
path: root/lisp/font-lock.el
diff options
context:
space:
mode:
authorLars Magne Ingebrigtsen <larsi@gnus.org>2011-07-14 15:50:25 +0200
committerLars Magne Ingebrigtsen <larsi@gnus.org>2011-07-14 15:50:25 +0200
commitf2182a765ac9c71d0d55ed27b097f8025db0d252 (patch)
tree26cffe4533afba48d66cf7519c93076a538a36dd /lisp/font-lock.el
parentf0fcdf4bf698f58127f56c207db4f2ac02df17ad (diff)
downloademacs-f2182a765ac9c71d0d55ed27b097f8025db0d252.tar.gz
* font-lock.el (font-lock-maximum-decoration): Mention what numeric levels mean.
Fixes: debbugs:6935
Diffstat (limited to 'lisp/font-lock.el')
-rw-r--r--lisp/font-lock.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/font-lock.el b/lisp/font-lock.el
index 6c76142c59d..6902ce98ab1 100644
--- a/lisp/font-lock.el
+++ b/lisp/font-lock.el
@@ -254,6 +254,7 @@ for buffers in Rmail mode, and size is irrelevant otherwise."
If nil, use the default decoration (typically the minimum available).
If t, use the maximum decoration available.
If a number, use that level of decoration (or if not available the maximum).
+The higher the number, the more decoration is done.
If a list, each element should be a cons pair of the form (MAJOR-MODE . LEVEL),
where MAJOR-MODE is a symbol or t (meaning the default). For example:
((c-mode . t) (c++-mode . 2) (t . 1))