From: Glenn Morris Date: Sat, 20 Sep 2008 20:16:29 +0000 (+0000) Subject: Comment. X-Git-Tag: emacs-pretest-23.0.90~2831 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8230b7b3a110f388ee09873a8726f5a465d53abf;p=emacs.git Comment. --- diff --git a/lisp/font-lock.el b/lisp/font-lock.el index 3f81de0b144..dc1af6c61d7 100644 --- a/lisp/font-lock.el +++ b/lisp/font-lock.el @@ -288,6 +288,11 @@ If a number, only buffers greater than this size have fontification messages." ;; 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.")