Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
d1c89300
Commit
d1c89300
authored
May 23, 2002
by
Colin Walters
Browse files
(font-lock-symbol-category-alist): New variable.
parent
d76014d9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
lisp/font-core.el
lisp/font-core.el
+9
-0
No files found.
lisp/font-core.el
View file @
d1c89300
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment