Mercurial > emacs
changeset 45481:d78e68782e6e
(font-lock-symbol-category-alist): New variable.
author | Colin Walters <walters@gnu.org> |
---|---|
date | Thu, 23 May 2002 04:18:19 +0000 |
parents | 3aa8591a28ff |
children | 7928b3acfb90 |
files | lisp/font-core.el |
diffstat | 1 files changed, 9 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/font-core.el Thu May 23 04:18:01 2002 +0000 +++ b/lisp/font-core.el Thu May 23 04:18:19 2002 +0000 @@ -144,6 +144,15 @@ variable is non-nil, then calling `font-lock-mode' will simply toggle the symbol property `face' of CATEGORY-SYMBOL.") +(defvar font-lock-symbol-category-alist nil + "An alist of (SYMBOL . CATEGORY-SYMBOL) to help maintain categories. +This variable is not directly used by font-lock; instead it is +intended to be used by modes which use `font-lock-category-alist'. +Normally, you want category symbols to be uninterned, so that their +properties can be local to a buffer. This variable helps you maintain +a mapping between normal category names (i.e. interned symbols) and +their local uninterned versions.") + (defvar font-lock-function 'font-lock-default-function "A function which is called when `font-lock-mode' is toggled. It will be passed one argument, which is the current value of