changeset 98266:31ee18a10bb3

Comment.
author Glenn Morris <rgm@gnu.org>
date Sat, 20 Sep 2008 20:16:29 +0000
parents 62ab73cd2383
children 559b4f23d84b
files lisp/font-lock.el
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/font-lock.el	Sat Sep 20 20:04:47 2008 +0000
+++ b/lisp/font-lock.el	Sat Sep 20 20:16:29 2008 +0000
@@ -288,6 +288,11 @@
 ;; We now allow a FACENAME in `font-lock-keywords' to be any expression that
 ;; returns a face.  So the easiest thing is to continue using these variables,
 ;; rather than sometimes evaling FACENAME and sometimes not.  sm.
+
+;; Note that in new code, in the vast majority of cases there is no
+;; need to create variables that specify face names.  Simply using
+;; faces directly is enough.  Font-lock is not a template to be
+;; followed in this area.
 (defvar font-lock-comment-face		'font-lock-comment-face
   "Face name to use for comments.")