changeset 32272:ad080e900685

(font-lock-mode, global-font-lock-mode): Mention in the doc strings how to customize Font Lock faces.
author Eli Zaretskii <eliz@gnu.org>
date Sun, 08 Oct 2000 06:50:22 +0000
parents 4ff70fe0d99b
children 4e5cd8d289c9
files lisp/font-lock.el
diffstat 1 files changed, 9 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/font-lock.el	Sun Oct 08 06:24:44 2000 +0000
+++ b/lisp/font-lock.el	Sun Oct 08 06:50:22 2000 +0000
@@ -636,6 +636,7 @@
 (defun font-lock-mode (&optional arg)
   "Toggle Font Lock mode.
 With arg, turn Font Lock mode on if and only if arg is positive.
+(Font Lock is also known as \"syntax highlighting\".)
 
 When Font Lock mode is enabled, text is fontified as you type it:
 
@@ -644,6 +645,9 @@
  - Certain other expressions are displayed in other faces according to the
    value of the variable `font-lock-keywords'.
 
+To customize the faces (colors, fonts, etc.) used by Font Lock for
+fontifying different parts of buffer text, use \\[customize-face].
+
 You can enable Font Lock mode in any major mode automatically by turning on in
 the major mode's hook.  For example, put in your ~/.emacs:
 
@@ -924,12 +928,16 @@
 ;;;###autoload
 (defun global-font-lock-mode (&optional arg message)
   "Toggle Global Font Lock mode.
+(Font Lock is also known as \"syntax highlighting\".)
 With prefix ARG, turn Global Font Lock mode on if and only if ARG is positive.
 Displays a message saying whether the mode is on or off if MESSAGE is non-nil.
 Returns the new status of Global Font Lock mode (non-nil means on).
 
 When Global Font Lock mode is enabled, Font Lock mode is automagically
-turned on in a buffer if its major mode is one of `font-lock-global-modes'."
+turned on in a buffer if its major mode is one of `font-lock-global-modes'.
+
+To customize the faces (colors, fonts, etc.) used by Font Lock for
+highlighting different parts of buffer text, use \\[customize-face]."
   (interactive "P\np")
   (let ((on-p (if arg
 		  (> (prefix-numeric-value arg) 0)