summaryrefslogtreecommitdiff
path: root/lisp/font-lock.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2008-09-20 20:16:29 +0000
committerGlenn Morris <rgm@gnu.org>2008-09-20 20:16:29 +0000
commit8230b7b3a110f388ee09873a8726f5a465d53abf (patch)
treeaeefdf7732ea3b145518480d7d310ba2349884fc /lisp/font-lock.el
parent3d53e905e68d0a473915d025a474fb9ac62106f1 (diff)
downloademacs-8230b7b3a110f388ee09873a8726f5a465d53abf.tar.gz
Comment.
Diffstat (limited to 'lisp/font-lock.el')
-rw-r--r--lisp/font-lock.el5
1 files changed, 5 insertions, 0 deletions
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.")