# HG changeset patch # User Glenn Morris # Date 1221941789 0 # Node ID 31ee18a10bb383709bf6a43e1e57adafdeb3a6bb # Parent 62ab73cd23831b22cc1523ad022b83adaa59f46f Comment. diff -r 62ab73cd2383 -r 31ee18a10bb3 lisp/font-lock.el --- 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.")