From 8230b7b3a110f388ee09873a8726f5a465d53abf Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Sat, 20 Sep 2008 20:16:29 +0000 Subject: [PATCH] Comment. --- lisp/font-lock.el | 5 +++++ 1 file changed, 5 insertions(+) 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.") -- 2.39.5