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
5ff602de
Commit
5ff602de
authored
Dec 13, 2008
by
Glenn Morris
Browse files
(font-lock-defaults): Doc fix: mention levels; refer to elisp manual.
parent
caef3ed2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
3 deletions
+15
-3
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/font-core.el
lisp/font-core.el
+10
-3
No files found.
lisp/ChangeLog
View file @
5ff602de
2008-12-13 Glenn Morris <rgm@gnu.org>
* font-core.el (font-lock-defaults): Doc fix: mention levels;
refer to elisp manual.
2008-12-12 Martin Rudalics <rudalics@gmx.at>
* window.el (fit-window-to-buffer): Return non-nil when height
...
...
lisp/font-core.el
View file @
5ff602de
...
...
@@ -32,10 +32,15 @@ Defaults should be of the form:
(KEYWORDS [KEYWORDS-ONLY [CASE-FOLD [SYNTAX-ALIST [SYNTAX-BEGIN ...]]]])
KEYWORDS may be a symbol (a variable or function whose value is the keywords to
use for fontification) or a list of symbols. If KEYWORDS-ONLY is non-nil,
syntactic fontification (strings and comments) is not performed.
KEYWORDS may be a symbol (a variable or function whose value is the keywords
to use for fontification) or a list of symbols (specifying different levels
of fontification).
If KEYWORDS-ONLY is non-nil, syntactic fontification (strings and
comments) is not performed.
If CASE-FOLD is non-nil, the case of the keywords is ignored when fontifying.
If SYNTAX-ALIST is non-nil, it should be a list of cons pairs of the form
\(CHAR-OR-STRING . STRING) used to set the local Font Lock syntax table, for
keyword and syntactic fontification (see `modify-syntax-entry').
...
...
@@ -48,6 +53,8 @@ be outside a syntactic block), or `beginning-of-defun' for programming modes or
known to move outside a syntactic block). If nil, the beginning of the buffer
is used as a position outside of a syntactic block, in the worst case.
\(See also Info node `(elisp)Font Lock Basics'.)
These item elements are used by Font Lock mode to set the variables
`font-lock-keywords', `font-lock-keywords-only',
`font-lock-keywords-case-fold-search', `font-lock-syntax-table' and
...
...
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