diff options
author | Colin Walters <walters@gnu.org> | 2002-05-23 04:18:19 +0000 |
---|---|---|
committer | Colin Walters <walters@gnu.org> | 2002-05-23 04:18:19 +0000 |
commit | d1c89300331d14dbb610f394ea22a622cf73a885 (patch) | |
tree | c25823613e79e8f794b152a88329f04d93ddf62b /lisp/font-core.el | |
parent | d76014d945f57b2f183009572c737a91cb3b9663 (diff) | |
download | emacs-d1c89300331d14dbb610f394ea22a622cf73a885.tar.gz emacs-d1c89300331d14dbb610f394ea22a622cf73a885.tar.bz2 emacs-d1c89300331d14dbb610f394ea22a622cf73a885.zip |
(font-lock-symbol-category-alist): New variable.
Diffstat (limited to 'lisp/font-core.el')
-rw-r--r-- | lisp/font-core.el | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lisp/font-core.el b/lisp/font-core.el index a00dc787315..f7964b609fe 100644 --- a/lisp/font-core.el +++ b/lisp/font-core.el @@ -144,6 +144,15 @@ wish to have fontification turned on and off by Font Lock. If this 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 |