]> git.eshelyaron.com Git - emacs.git/commitdiff
(font-lock-defaults): Doc fix: mention levels; refer to elisp manual.
authorGlenn Morris <rgm@gnu.org>
Sat, 13 Dec 2008 04:12:08 +0000 (04:12 +0000)
committerGlenn Morris <rgm@gnu.org>
Sat, 13 Dec 2008 04:12:08 +0000 (04:12 +0000)
lisp/ChangeLog
lisp/font-core.el

index 2a2f62c3c63d797cef46a1d9240c6d2f206258b2..c1f23d1740cdf23ac054ae645f4df1749e5dde52 100644 (file)
@@ -1,3 +1,8 @@
+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
index b50509f04dfea3d3f4ccb7924dd0d7dd757e39b6..a45b298c6061e87606e5517524535baea109328b 100644 (file)
@@ -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