GNU bug report logs - #82034
32.0.50; Replace obsolete font-lock-*-face variables

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Ulrich Müller <ulm@HIDDEN>; Keywords: patch; dated Sun, 11 Oct 2026 06:42:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 82034 <at> debbugs.gnu.org:


Received: (at 82034) by debbugs.gnu.org; 12 Oct 2026 05:59:22 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Oct 12 01:59:22 2026
Received: from localhost ([127.0.0.1]:58768 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1xG94D-0001ou-Hn
	for submit <at> debbugs.gnu.org; Mon, 12 Oct 2026 01:59:22 -0400
Received: from dev.gentoo.org ([2001:470:ea4a:1:5054:ff:fec7:86e4]:60195
 helo=smtp.gentoo.org)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <ulm@HIDDEN>) id 1xG94B-0001o1-KP
 for 82034 <at> debbugs.gnu.org; Mon, 12 Oct 2026 01:59:20 -0400
Received: from urania.fritz.box
 (p200300cbaf0d8200cd886b196ce05417.dip0.t-ipconnect.de
 [IPv6:2003:cb:af0d:8200:cd88:6b19:6ce0:5417])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
 (No client certificate requested) (Authenticated sender: ulm)
 by smtp.gentoo.org (Postfix) with ESMTPSA id C3CF63406F2;
 Mon, 12 Oct 2026 05:59:09 +0000 (UTC)
From: =?utf-8?Q?Ulrich_M=C3=BCller?= <ulm@HIDDEN>
To: 82034 <at> debbugs.gnu.org
Subject: Re: bug#82034: 32.0.50; Replace obsolete font-lock-*-face variables
In-Reply-To: <utsms3sq2_-_@HIDDEN>
References: <uecdw68pg@HIDDEN>
 <handler.82034.B.179170088016037.ack <at> debbugs.gnu.org>
 <utsms3sq2_-_@HIDDEN>
Date: Mon, 12 Oct 2026 07:59:01 +0200
Message-ID: <upkxf4fyy@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 82034
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

--=-=-=
Content-Type: text/plain

Round three: lisp/progmodes/sql.el

I've chosen to add a quote in the return value of
sql-font-lock-keywords-builder. The alternative would have been to
update all (about 30) callers from 'FACENAME to ''FACENAME.


--=-=-=
Content-Type: text/plain
Content-Disposition: inline;
 filename=0003-Replace-obsolete-font-lock-face-variables.patch

From 087823f3f3955f72d4efac34f25e1c60bf3c0026 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ulrich=20M=C3=BCller?= <ulm@HIDDEN>
Date: Mon, 12 Oct 2026 07:26:21 +0200
Subject: [PATCH 3/3] Replace obsolete font-lock-*-face variables

* lisp/progmodes/sql.el (sql-mode-font-lock-object-name)
(sql-mode-oracle-font-lock-keywords)
(sql-mode-postgres-font-lock-keywords)
(sql-mode-ms-font-lock-keywords)
(sql-mode-sqlite-font-lock-keywords): Replace obsolete
font-lock-*-face variables with quoted symbols.
(sql-font-lock-keywords-builder): Quote the face in the returned
cons cell.
(sql-add-product-keywords): Update docstring.  (Bug#82034)
---
 lisp/progmodes/sql.el | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/lisp/progmodes/sql.el b/lisp/progmodes/sql.el
index a82a7884e40..214ebd8e347 100644
--- a/lisp/progmodes/sql.el
+++ b/lisp/progmodes/sql.el
@@ -109,7 +109,7 @@
 
 ;;     (defvar my-sql-mode-xyz-font-lock-keywords
 ;;       '(("\\b\\(red\\|orange\\|yellow\\)\\b"
-;;          . font-lock-keyword-face))
+;;          . 'font-lock-keyword-face))
 ;;       "XyzDB SQL keywords used by font-lock.")
 
 ;;     (sql-set-product-feature 'xyz
@@ -1510,7 +1510,7 @@ sql-mode-font-lock-object-name
 		  "\\|function\\|trigger\\|sequence\\|rule\\|default\\)\\s-+"
                   "\\(?:if\\s-+not\\s-+exists\\s-+\\)?" ;; IF NOT EXISTS
 		  "\\(\\w+\\(?:\\s-*[.]\\s-*\\w+\\)*\\)")
-	  1 'font-lock-function-name-face))
+	  1 ''font-lock-function-name-face))
 
   "Pattern to match the names of top-level objects.
 
@@ -1567,7 +1567,7 @@ sql-mode-ansi-font-lock-keywords
       (cons (concat (car bdy)
 		    (regexp-opt kwd t)
 		    (cdr bdy))
-	    face)))
+	    (list 'quote face))))
 
   (defun sql-regexp-abbrev (keyword)
     (let ((brk   (string-search "~" keyword))
@@ -1731,7 +1731,7 @@ sql-mode-oracle-font-lock-keywords
      ;;   Only recognized in they start in column 1 and the
      ;;   abbreviation is followed by a space or the end of line.
      (list (concat "^" (sql-regexp-abbrev "rem~ark") "\\(?:\\s-.*\\)?$")
-           0 'font-lock-comment-face t)
+           0 ''font-lock-comment-face t)
 
      (list
       (concat
@@ -1774,8 +1774,8 @@ sql-mode-oracle-font-lock-keywords
                "\\)")
 
        "\\)\\(?:\\s-.*\\)?\\(?:[-]\n.*\\)*$")
-      0 'font-lock-doc-face t)
-     '("&?&\\(?:\\sw\\|\\s_\\)+[.]?" 0 font-lock-preprocessor-face t)
+      0 ''font-lock-doc-face t)
+     '("&?&\\(?:\\sw\\|\\s_\\)+[.]?" 0 'font-lock-preprocessor-face t)
 
      ;; Oracle PL/SQL Attributes (Declare these first to match %TYPE correctly)
      (sql-font-lock-keywords-builder 'font-lock-builtin-face '("%" . "\\b")
@@ -2047,7 +2047,7 @@ sql-mode-postgres-font-lock-keywords
   (eval-when-compile
     (list
      ;; Postgres psql commands
-     '("^\\s-*\\\\.*$" . font-lock-doc-face)
+     '("^\\s-*\\\\.*$" . 'font-lock-doc-face)
 
      ;; Postgres unreserved words but may have meaning
      (sql-font-lock-keywords-builder 'font-lock-builtin-face nil "a"
@@ -2312,7 +2312,7 @@ sql-mode-ms-font-lock-keywords
 )
                    t)
        "\\)\\)\\|go\\s-*\\|use\\s-+\\|setuser\\s-+\\|dbcc\\s-+\\).*$")
-      'font-lock-doc-face)
+      ''font-lock-doc-face)
 
      ;; MS Reserved
      (sql-font-lock-keywords-builder 'font-lock-keyword-face nil
@@ -2383,7 +2383,7 @@ sql-mode-ms-font-lock-keywords
 )
 
      ;; MS Variables
-     '("\\b@[a-zA-Z0-9_]*\\b" . font-lock-variable-name-face)
+     '("\\b@[a-zA-Z0-9_]*\\b" . 'font-lock-variable-name-face)
 
      ;; MS Types
      (sql-font-lock-keywords-builder 'font-lock-type-face nil
@@ -2596,7 +2596,7 @@ sql-mode-sqlite-font-lock-keywords
   (eval-when-compile
     (list
      ;; SQLite commands
-     '("^[.].*$" . font-lock-doc-face)
+     '("^[.].*$" . 'font-lock-doc-face)
 
      ;; SQLite Keyword
      ;; https://sqlite.org/lang_keywords.html
@@ -2886,7 +2886,7 @@ sql-add-product-keywords
 For example:
 
  (sql-add-product-keywords \\='ms
-  \\='((\"\\\\b\\\\w+_t\\\\b\" . font-lock-type-face)))
+  \\='((\"\\\\b\\\\w+_t\\\\b\" . \\='font-lock-type-face)))
 
 adds a fontification pattern to fontify identifiers ending in
 `_t' as data types."
-- 
2.56.0


--=-=-=--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#82034; Package emacs. Full text available.

Message received at 82034 <at> debbugs.gnu.org:


Received: (at 82034) by debbugs.gnu.org; 11 Oct 2026 20:09:08 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Oct 11 16:09:08 2026
Received: from localhost ([127.0.0.1]:34458 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1xFzr2-0003gI-5c
	for submit <at> debbugs.gnu.org; Sun, 11 Oct 2026 16:09:08 -0400
Received: from woodpecker.gentoo.org ([140.211.166.183]:54454
 helo=smtp.gentoo.org)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <ulm@HIDDEN>) id 1xFzr0-0003fV-DF
 for 82034 <at> debbugs.gnu.org; Sun, 11 Oct 2026 16:09:06 -0400
Received: from urania.fritz.box
 (p200300cbaf1ad000de45c96325fcfe81.dip0.t-ipconnect.de
 [IPv6:2003:cb:af1a:d000:de45:c963:25fc:fe81])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
 (No client certificate requested) (Authenticated sender: ulm)
 by smtp.gentoo.org (Postfix) with ESMTPSA id 84F2F341CB8;
 Sun, 11 Oct 2026 20:08:56 +0000 (UTC)
From: =?utf-8?Q?Ulrich_M=C3=BCller?= <ulm@HIDDEN>
To: 82034 <at> debbugs.gnu.org
Subject: Re: bug#82034: 32.0.50; Replace obsolete font-lock-*-face variables
In-Reply-To: <handler.82034.B.179170088016037.ack <at> debbugs.gnu.org>
References: <uecdw68pg@HIDDEN>
 <handler.82034.B.179170088016037.ack <at> debbugs.gnu.org>
Date: Sun, 11 Oct 2026 22:08:53 +0200
Message-ID: <utsms3sq2_-_@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
X-Debbugs-Envelope-To: 82034
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>

--=-=-=
Content-Type: text/plain

Round two: All easy cases in lisp/progmodes.

Attached patch includes everything, *except* the following which
require more thought:

  - cc-*.el
  - csharp-mode.el
  - prolog.el
  - sql.el


--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline;
 filename=0002-Replace-obsolete-font-lock-face-variables.patch
Content-Transfer-Encoding: quoted-printable

From 38f18d2e3f2e0410217a6135156336c75066a3d1 Mon Sep 17 00:00:00 2001
From: =3D?UTF-8?q?Ulrich=3D20M=3DC3=3DBCller?=3D <ulm@HIDDEN>
Date: Sun, 11 Oct 2026 21:02:33 +0200
Subject: [PATCH 2/2] Replace obsolete font-lock-*-face variables

* lisp/progmodes/asm-mode.el (asm-font-lock-keywords):
* lisp/progmodes/bat-mode.el (bat-font-lock-keywords):
* lisp/progmodes/cfengine.el (cfengine2-font-lock-keywords)
(cfengine3-font-lock-keywords):
* lisp/progmodes/cl-font-lock.el (cl-font-lock-built-in-keywords):
* lisp/progmodes/compile.el (compilation-mode-font-lock-keywords):
* lisp/progmodes/cperl-mode.el (cperl-init-faces):
* lisp/progmodes/cwarn.el (cwarn-font-lock-assignment-keywords)
(cwarn-font-lock-semicolon-keywords)
(cwarn-font-lock-reference-keywords):
* lisp/progmodes/dcl-mode.el (dcl-font-lock-keywords):
* lisp/progmodes/executable.el (executable-font-lock-keywords):
* lisp/progmodes/f90.el (f90-font-lock-keywords-1)
(f90-font-lock-keywords-2, f90-font-lock-keywords-3)
(f90-font-lock-keywords-4):
* lisp/progmodes/fortran.el (fortran-font-lock-keywords-1)
(fortran-font-lock-keywords-2, fortran-font-lock-keywords-3)
(fortran-font-lock-keywords-4):
* lisp/progmodes/gdb-mi.el (gdb-threads-font-lock-keywords)
(gdb-memory-font-lock-keywords, gdb-memory-header)
(gdb-disassembly-font-lock-keywords)
(gdb-frames-font-lock-keywords):
* lisp/progmodes/gud.el (gdb-script-font-lock-keywords):
* lisp/progmodes/icon.el (icon-font-lock-keywords-1)
(icon-font-lock-keywords-2):
* lisp/progmodes/js.el (js--font-lock-keywords-1)
(js--font-lock-keywords-2, js--variable-decl-matcher)
(js-jsx--font-lock-keywords, js--font-lock-keywords-3):
* lisp/progmodes/ld-script.el (ld-script-font-lock-keywords):
* lisp/progmodes/lua-mode.el (lua-font-lock-keywords):
* lisp/progmodes/make-mode.el (makefile-make-font-lock-keywords)
(makefile-gmake-font-lock-keywords)
(makefile-makepp-font-lock-keywords)
(makefile-bsdmake-font-lock-keywords)
(makefile-imake-font-lock-keywords):
* lisp/progmodes/meta-mode.el (meta-font-lock-keywords):
* lisp/progmodes/mixal-mode.el (mixal-font-lock-keywords):
* lisp/progmodes/octave.el (octave-font-lock-keywords)
(inferior-octave-font-lock-keywords):
* lisp/progmodes/opascal.el (opascal-font-lock-keywords):
* lisp/progmodes/pascal.el (pascal-font-lock-keywords):
* lisp/progmodes/ps-mode.el (ps-run-font-lock-keywords-2)
(ps-mode-font-lock-keywords-1, ps-mode-font-lock-keywords-2)
(ps-mode-font-lock-keywords-3, ps-run-font-lock-keywords-1):
* lisp/progmodes/python.el
(python-font-lock-keywords-maximum-decoration):
* lisp/progmodes/ruby-mode.el (ruby-font-lock-keywords):
* lisp/progmodes/scheme.el (scheme-font-lock-keywords-1)
(scheme-font-lock-keywords-2, dsssl-font-lock-keywords):
* lisp/progmodes/sh-script.el (sh-font-lock-keywords-var)
(sh-font-lock-keywords, sh-font-lock-keywords-1):
* lisp/progmodes/simula.el (simula-font-lock-keywords-1)
(simula-font-lock-keywords-2, simula-font-lock-keywords-3):
* lisp/progmodes/tcl.el (tcl-set-font-lock-keywords):
* lisp/progmodes/vera-mode.el (vera-font-lock-keywords):
* lisp/progmodes/verilog-mode.el (verilog-font-lock-keywords)
(verilog-font-lock-keywords-1, verilog-font-lock-keywords-2):
* lisp/progmodes/vhdl-mode.el (vhdl-font-lock-keywords-2)
(vhdl-font-lock-init):
Replace obsolete font-lock-*-face variables with quoted symbols.
---
 lisp/progmodes/asm-mode.el     | 10 ++---
 lisp/progmodes/bat-mode.el     | 22 +++++------
 lisp/progmodes/cfengine.el     | 34 ++++++++--------
 lisp/progmodes/cl-font-lock.el | 10 ++---
 lisp/progmodes/compile.el      |  4 +-
 lisp/progmodes/cperl-mode.el   | 56 +++++++++++++-------------
 lisp/progmodes/cwarn.el        |  6 +--
 lisp/progmodes/dcl-mode.el     |  6 +--
 lisp/progmodes/executable.el   |  2 +-
 lisp/progmodes/f90.el          | 64 +++++++++++++++---------------
 lisp/progmodes/fortran.el      | 28 +++++++------
 lisp/progmodes/gdb-mi.el       | 40 +++++++++----------
 lisp/progmodes/gud.el          |  6 +--
 lisp/progmodes/icon.el         | 24 ++++++------
 lisp/progmodes/js.el           | 42 ++++++++++----------
 lisp/progmodes/ld-script.el    |  6 +--
 lisp/progmodes/lua-mode.el     | 72 +++++++++++++++++-----------------
 lisp/progmodes/make-mode.el    | 18 ++++-----
 lisp/progmodes/meta-mode.el    | 46 +++++++++++-----------
 lisp/progmodes/mixal-mode.el   |  2 +-
 lisp/progmodes/octave.el       | 10 ++---
 lisp/progmodes/opascal.el      |  2 +-
 lisp/progmodes/pascal.el       | 12 +++---
 lisp/progmodes/ps-mode.el      | 28 ++++++-------
 lisp/progmodes/python.el       |  2 +-
 lisp/progmodes/ruby-mode.el    | 32 +++++++--------
 lisp/progmodes/scheme.el       | 36 ++++++++---------
 lisp/progmodes/sh-script.el    | 34 ++++++++--------
 lisp/progmodes/simula.el       | 16 ++++----
 lisp/progmodes/tcl.el          | 14 +++----
 lisp/progmodes/vera-mode.el    | 28 ++++++-------
 lisp/progmodes/verilog-mode.el | 30 +++++++-------
 lisp/progmodes/vhdl-mode.el    | 48 +++++++++++------------
 33 files changed, 395 insertions(+), 395 deletions(-)

diff --git a/lisp/progmodes/asm-mode.el b/lisp/progmodes/asm-mode.el
index a9d5d0d6e0e..f925cda8100 100644
--- a/lisp/progmodes/asm-mode.el
+++ b/lisp/progmodes/asm-mode.el
@@ -88,17 +88,17 @@ asm-mode-menu
 (defconst asm-font-lock-keywords
   (append
    '(("^\\(\\(\\sw\\|\\s_\\)+\\)\\>:?[ \t]*\\(\\sw+\\(\\.\\sw+\\)*\\)?"
-      (1 font-lock-function-name-face) (3 font-lock-keyword-face nil t))
+      (1 'font-lock-function-name-face) (3 'font-lock-keyword-face nil t))
      ;; label started from ".".
      ("^\\(\\.\\(\\sw\\|\\s_\\)+\\)\\>:"
-      1 font-lock-function-name-face)
+      1 'font-lock-function-name-face)
      ("^\\((\\sw+)\\)?\\s +\\(\\(\\.?\\sw\\|\\s_\\)+\\(\\.\\sw+\\)*\\)"
-      2 font-lock-keyword-face)
+      2 'font-lock-keyword-face)
      ;; directive started from ".".
      ("^\\(\\.\\(\\sw\\|\\s_\\)+\\)\\>[^:]?"
-      1 font-lock-keyword-face)
+      1 'font-lock-keyword-face)
      ;; %register
-     ("%\\sw+" . font-lock-variable-name-face))
+     ("%\\sw+" . 'font-lock-variable-name-face))
    cpp-font-lock-keywords)
   "Additional expressions to highlight in Assembler mode.")
=20
diff --git a/lisp/progmodes/bat-mode.el b/lisp/progmodes/bat-mode.el
index 34e2557c819..27c4d5c0e12 100644
--- a/lisp/progmodes/bat-mode.el
+++ b/lisp/progmodes/bat-mode.el
@@ -79,27 +79,27 @@ bat-font-lock-keywords
           (UNIX
            '("bash" "cat" "cp" "fgrep" "grep" "ls" "sed" "sh" "mv" "rm")))
       `(("\\_<\\(call\\|goto\\)\\_>[ \t]+%?\\([A-Za-z0-9_\\:.-]+\\)%?"
-         (2 font-lock-constant-face t))
+         (2 'font-lock-constant-face t))
         ("^:[^:].*"
          . 'bat-label-face)
         ("\\_<\\(defined\\|set\\|setx\\)\\_>[ \t]*\\(\\(\\sw\\|\\s_\\)+\\)"
-         (2 font-lock-variable-name-face))
+         (2 'font-lock-variable-name-face))
         ("%~\\([0-9]\\)"
-         (1 font-lock-variable-name-face))
+         (1 'font-lock-variable-name-face))
         ("%\\([^%~ \n]+\\)%?"
-         (1 font-lock-variable-name-face))
+         (1 'font-lock-variable-name-face))
         ("!\\([^!%~ \n]+\\)!?"  ; delayed-expansion !variable!
-         (1 font-lock-variable-name-face))
+         (1 'font-lock-variable-name-face))
         ("%%\\(?:~[adfnpstxz]*\\(?:\\$\\(\\(?:\\sw\\|\\s_\\|_\\)+\\):\\)?\=
\)?\\([]!#$&-:?-[_-{}~]\\)"
-         (1 font-lock-variable-name-face nil t) ; PATH expansion
-         (2 font-lock-variable-name-face)) ; iteration variable or positio=
nal parameter
+         (1 'font-lock-variable-name-face nil t) ; PATH expansion
+         (2 'font-lock-variable-name-face)) ; iteration variable or positi=
onal parameter
         ("[ =3D][-/]+\\(\\w+\\)"
-         (1 font-lock-type-face append))
-        (,(concat "\\_<" (regexp-opt COMMANDS) "\\_>") . font-lock-builtin=
-face)
+         (1 'font-lock-type-face append))
+        (,(concat "\\_<" (regexp-opt COMMANDS) "\\_>") . 'font-lock-builti=
n-face)
         (,(concat "\\_<" (regexp-opt CONTROLFLOW) "\\_>")
-         . font-lock-keyword-face)
+         . 'font-lock-keyword-face)
         (,(concat "\\_<" (regexp-opt UNIX) "\\_>")
-         . font-lock-warning-face)))))
+         . 'font-lock-warning-face)))))
=20
 (defvar-keymap bat-mode-map
   "C-c C-/" #'bat-cmd-help ;FIXME: Why not C-c C-? ?
diff --git a/lisp/progmodes/cfengine.el b/lisp/progmodes/cfengine.el
index 3155a343e04..44653f0c7ba 100644
--- a/lisp/progmodes/cfengine.el
+++ b/lisp/progmodes/cfengine.el
@@ -835,16 +835,16 @@ cfengine2-font-lock-keywords
     (,(concat "^[ \t]*" (eval-when-compile
 			  (regexp-opt cfengine2-actions t))
 	      ":")
-     1 font-lock-keyword-face)
+     1 'font-lock-keyword-face)
     ;; Classes.
-    ("^[ \t]*\\([[:alnum:]_().|!]+\\)::" 1 font-lock-function-name-face)
+    ("^[ \t]*\\([[:alnum:]_().|!]+\\)::" 1 'font-lock-function-name-face)
     ;; Variables.
-    ("\\$(\\([[:alnum:]_]+\\))" 1 font-lock-variable-name-face)
-    ("\\${\\([[:alnum:]_]+\\)}" 1 font-lock-variable-name-face)
+    ("\\$(\\([[:alnum:]_]+\\))" 1 'font-lock-variable-name-face)
+    ("\\${\\([[:alnum:]_]+\\)}" 1 'font-lock-variable-name-face)
     ;; Variable definitions.
-    ("\\_<\\([[:alnum:]_]+\\)[ \t]*=3D[ \t]*(" 1 font-lock-variable-name-f=
ace)
+    ("\\_<\\([[:alnum:]_]+\\)[ \t]*=3D[ \t]*(" 1 'font-lock-variable-name-=
face)
     ;; File, acl &c in group:   { token ... }
-    ("{[ \t]*\\([^ \t\n]+\\)" 1 font-lock-constant-face)))
+    ("{[ \t]*\\([^ \t\n]+\\)" 1 'font-lock-constant-face)))
=20
 (defvar cfengine3-font-lock-keywords
   `(
@@ -854,7 +854,7 @@ cfengine3-font-lock-keywords
=20
     ;; invalid macros
     (,(concat "^[ \t]*" cfengine3-macro-regex)
-     1 font-lock-warning-face)
+     1 'font-lock-warning-face)
=20
     ;; Defuns.  This happens early so they don't get caught by looser
     ;; patterns.
@@ -863,29 +863,29 @@ cfengine3-font-lock-keywords
               "[ \t]+\\_<\\([[:alnum:]_.:]+\\)"
               ;; Optional parentheses with variable names inside.
               "\\(?:(\\([^)]*\\))\\)?")
-     (1 font-lock-builtin-face)
-     (2 font-lock-constant-face)
-     (3 font-lock-function-name-face)
-     (4 font-lock-variable-name-face nil t))
+     (1 'font-lock-builtin-face)
+     (2 'font-lock-constant-face)
+     (3 'font-lock-function-name-face)
+     (4 'font-lock-variable-name-face nil t))
=20
     ;; Class selectors.
     (,(concat "^[ \t]*" cfengine3-class-selector-regex)
-     1 font-lock-keyword-face)
+     1 'font-lock-keyword-face)
=20
     ;; Categories.
     (,(concat "^[ \t]*" cfengine3-category-regex)
-     1 font-lock-builtin-face)
+     1 'font-lock-builtin-face)
=20
     ;; Variables, including scope, e.g. module.var
-    ("[@$](\\([[:alnum:]_.:]+\\))" 1 font-lock-variable-name-face)
-    ("[@$]{\\([[:alnum:]_.:]+\\)}" 1 font-lock-variable-name-face)
+    ("[@$](\\([[:alnum:]_.:]+\\))" 1 'font-lock-variable-name-face)
+    ("[@$]{\\([[:alnum:]_.:]+\\)}" 1 'font-lock-variable-name-face)
=20
     ;; Variable definitions.
-    ("\\_<\\([[:alnum:]_]+\\)[ \t]*=3D[ \t]*(" 1 font-lock-variable-name-f=
ace)
+    ("\\_<\\([[:alnum:]_]+\\)[ \t]*=3D[ \t]*(" 1 'font-lock-variable-name-=
face)
=20
     ;; Variable types.
     (,(concat "\\_<" (eval-when-compile (regexp-opt cfengine3-vartypes t))=
 "\\_>")
-     1 font-lock-type-face)))
+     1 'font-lock-type-face)))
=20
 (defvar cfengine2-imenu-expression
   `((nil ,(concat "^[ \t]*" (eval-when-compile
diff --git a/lisp/progmodes/cl-font-lock.el b/lisp/progmodes/cl-font-lock.el
index 400a516c1c8..c3c8e0f88a7 100644
--- a/lisp/progmodes/cl-font-lock.el
+++ b/lisp/progmodes/cl-font-lock.el
@@ -266,11 +266,11 @@ cl-font-lock-built-in-keywords
   (mapcar (lambda (s)
             `(,(regexp-opt (symbol-value (car s)) 'symbols)
               . ,(cdr s)))
-          '((cl-font-lock-built-in--functions . font-lock-function-name-fa=
ce)
-            (cl-font-lock-built-in--variables . font-lock-variable-name-fa=
ce)
-            (cl-font-lock-built-in--types . font-lock-type-face)
-            (cl-font-lock-built-in--symbols . font-lock-builtin-face)
-            (cl-font-lock--character-names . font-lock-variable-name-face)=
)))
+          '((cl-font-lock-built-in--functions . 'font-lock-function-name-f=
ace)
+            (cl-font-lock-built-in--variables . 'font-lock-variable-name-f=
ace)
+            (cl-font-lock-built-in--types . 'font-lock-type-face)
+            (cl-font-lock-built-in--symbols . 'font-lock-builtin-face)
+            (cl-font-lock--character-names . 'font-lock-variable-name-face=
))))
=20
 ;;;###autoload
 (define-minor-mode cl-font-lock-built-in-mode
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el
index 235648e6f56..cd199681332 100644
--- a/lisp/progmodes/compile.el
+++ b/lisp/progmodes/compile.el
@@ -946,11 +946,11 @@ compilation-page-delimiter
 (defvar compilation-mode-font-lock-keywords
    '(;; configure output lines.
      ("^[Cc]hecking \\(?:[Ff]or \\|[Ii]f \\|[Ww]hether \\(?:to \\)?\\)?\\(=
.+\\)\\.\\.\\. *\\(?:(cached) *\\)?\\(\\(yes\\(?: .+\\)?\\)\\|no\\|\\(.*\\)=
\\)$"
-      (1 font-lock-variable-name-face)
+      (1 'font-lock-variable-name-face)
       (2 (compilation-face '(4 . 3))))
      ;; Command output lines.  Recognize `make[n]:' lines too.
      ("^\\([[:alnum:]_/.+-]+\\)\\(\\[\\([0-9]+\\)\\]\\)?[ \t]*:"
-      (1 font-lock-function-name-face) (3 compilation-line-face nil t))
+      (1 'font-lock-function-name-face) (3 compilation-line-face nil t))
      (" --?o\\(?:utfile\\|utput\\)?[=3D ]\\(\\S +\\)" . 1)
      ("^Compilation \\(finished\\).*"
       (0 '(face nil compilation-message nil help-echo nil mouse-face nil) =
t)
diff --git a/lisp/progmodes/cperl-mode.el b/lisp/progmodes/cperl-mode.el
index 75f6da87e58..792e18da0bf 100644
--- a/lisp/progmodes/cperl-mode.el
+++ b/lisp/progmodes/cperl-mode.el
@@ -6379,7 +6379,7 @@ cperl-init-faces
                             (point))
                         (error (match-end 2))))
                     nil
-                    (1 font-lock-variable-name-face)))
+                    (1 'font-lock-variable-name-face)))
              ;; -------- various stuff calling for a package name
             ;; (matcher (subexp facespec) (subexp facespec))
             `(,(rx (sequence
@@ -6394,9 +6394,9 @@ cperl-init-faces
                                   (eval cperl--ws*-rx)))
                     (group-n 3 (eval cperl--normal-identifier-rx))
                     (any " \t\n;)"))) ; require A if B;
-              (1 font-lock-keyword-face t t)
-              (2 font-lock-constant-face t t)
-	      (3 font-lock-function-name-face))
+              (1 'font-lock-keyword-face t t)
+              (2 'font-lock-constant-face t t)
+	      (3 'font-lock-function-name-face))
            ;; -------- flow control
             ;; (matcher . subexp) font-lock-keyword-face by default
 	    ;; This highlights declarations and definitions differently.
@@ -6471,7 +6471,7 @@ cperl-init-faces
                  "umask" "unlink" "unpack" "utime" "values" "vec"
                  "wait" "waitpid" "wantarray" "warn" "write" "x" "xor"))
               "\\)\\>")
-             2 'font-lock-type-face)
+             2 ''font-lock-type-face)
 	    ;; In what follows we use `other' style
 	    ;; for nonoverwritable builtins
             ;; This is a bit shaky because the status
@@ -6503,11 +6503,11 @@ cperl-init-faces
             ;; -------- -X file tests
             ;; (matcher subexp facespec)
 	    '("-[rwxoRWXOezsfdlpSbctugkTBMAC]\\>\\([ \t]+_\\>\\)?" 0
-	      font-lock-function-name-face keep) ; Not very good, triggers at "[a=
-z]"
+	      'font-lock-function-name-face keep) ; Not very good, triggers at "[=
a-z]"
             ;; -------- formats
             ;; (matcher subexp facespec)
 	    '("^[ \t]*format[ \t]+\\([a-zA-Z_][a-zA-Z_0-9:]*\\)[ \t]*=3D[ \t]*$"
-	      1 font-lock-function-name-face)
+	      1 'font-lock-function-name-face)
             ;; -------- labels
             ;; (matcher subexp facespec)
             `(,(rx
@@ -6519,7 +6519,7 @@ cperl-init-faces
                      (sequence word-start
                                (or "until" "while" "for" "foreach" "do")
                                word-end))))
-              1 font-lock-constant-face)
+              1 'font-lock-constant-face)
             ;; -------- labels as targets (no trailing colon!)
             ;; (matcher subexp facespec)
             `(,(rx
@@ -6528,11 +6528,11 @@ cperl-init-faces
                  (or "continue" "next" "last" "redo" "break" "goto")
                  (1+ space)
                  (group (eval cperl--basic-identifier-rx))))
-              1 font-lock-constant-face)
+              1 'font-lock-constant-face)
 	    ;; Uncomment to get perl-mode-like vars
-            ;; '("[$*]{?\\(\\sw+\\)" 1 font-lock-variable-name-face)
+            ;; '("[$*]{?\\(\\sw+\\)" 1 'font-lock-variable-name-face)
             ;; '("\\([@%]\\|\\$#\\)\\(\\sw+\\)"
-            ;;  (2 (cons font-lock-variable-name-face '(underline))))
+            ;;  (2 (cons 'font-lock-variable-name-face '(underline))))
 	    ;; 1=3Dmy_etc, 2=3Dwhite? 3=3D(+white? 4=3Dwhite? 5=3Dvar
             ;; -------- variable declarations
             ;; (matcher (subexp facespec) ...
@@ -6549,7 +6549,7 @@ cperl-init-faces
 	      ;;          "\\(("
 	      ;;          cperl-maybe-white-and-comment-rex
 	      ;;          "\\)?\\([$@%*]\\([a-zA-Z0-9_:]+\\|[^a-zA-Z0-9_]\\)\\)")
-	      (2 font-lock-variable-name-face)
+	      (2 'font-lock-variable-name-face)
               ;; ... (anchored-matcher pre-form post-form subex-highlighte=
rs)
 	      (,(rx (sequence point
                               (eval cperl--ws*-rx)
@@ -6580,7 +6580,7 @@ cperl-init-faces
 		      (1- (point))) ; report limit
 		  (forward-char -2)) ; disable continued expr
 	       nil
-	       (1 font-lock-variable-name-face)))
+	       (1 'font-lock-variable-name-face)))
             ;; -------- builtin constants with and without package prefix
             ;; (matcher subexp facespec)
             `(,(rx (or space (in "=3D<>-"))
@@ -6596,7 +6596,7 @@ cperl-init-faces
                    (optional (sequence
                               (eval cperl--ws+-rx)
                               (group (eval cperl--attribute-list-rx)))))
-              (1 font-lock-variable-name-face)
+              (1 'font-lock-variable-name-face)
               ;; -------- optional attributes
               ;; (anchored-matcher pre-form post-form subex-highlighters)
               (,(rx
@@ -6616,8 +6616,8 @@ cperl-init-faces
                  ;; initializer expression as attribute.
                  (1+ (point)))
                nil
-               (1 font-lock-constant-face)
-               (2 font-lock-string-face nil t) ; lax match, value is optio=
nal
+               (1 'font-lock-constant-face)
+               (2 'font-lock-string-face nil t) ; lax match, value is opti=
onal
               ))
             ;; ----- foreach my $foo (
             ;; (matcher subexp facespec)
@@ -6629,14 +6629,14 @@ cperl-init-faces
                                         (eval cperl--basic-identifier-rx)))
                    (0+ blank) "(")
 ;;	    '("\\<for\\(each\\)?\\([ \t]+\\(state\\|my\\|local\\|our\\)\\)?[ \t=
]*\\(\\$[a-zA-Z_][a-zA-Z_0-9]*\\)[ \t]*("
-	      1 font-lock-variable-name-face)
+	      1 'font-lock-variable-name-face)
 	    ;; Avoid $!, and s!!, qq!! etc. when not fontifying syntactically
             ;; -------- ! as a negation char like $false =3D !$true
             ;; (matcher subexp facespec)
-	    '("\\(?:^\\|[^smywqrx$]\\)\\(!\\)" 1 font-lock-negation-char-face)
+	    '("\\(?:^\\|[^smywqrx$]\\)\\(!\\)" 1 'font-lock-negation-char-face)
             ;; -------- ^ as a negation char in character classes m/[^abc]/
             ;; (matcher subexp facespec)
-	    '("\\[\\(\\^\\)" 1 font-lock-negation-char-face prepend)))
+	    '("\\[\\(\\^\\)" 1 'font-lock-negation-char-face prepend)))
 	  (setq
 	   t-font-lock-keywords-1
 	   `(
@@ -6649,7 +6649,7 @@ cperl-init-faces
                                         (eval cperl--basic-identifier-rx)))
                    (0+ blank) "}")
 ;;	    '("\\([]}\\%@>*&]\\|\\$[a-zA-Z0-9_:]*\\)[ \t]*{[ \t]*\\(-?[a-zA-Z0-=
9_:]+\\)[ \t]*}"
-	      (1 font-lock-string-face)
+	      (1 'font-lock-string-face)
               ;; -------- anchored bareword hash key: $foo{bar}{baz}
               ;; ... (anchored-matcher pre-form post-form subex-highlighte=
rs)
               (,(rx point
@@ -6659,14 +6659,14 @@ cperl-init-faces
                     (0+ blank) "}")
 	       ;; ("\\=3D[ \t]*{[ \t]*\\(-?[a-zA-Z0-9_:]+\\)[ \t]*}"
 	       nil nil
-	       (1 font-lock-string-face)))
+	       (1 'font-lock-string-face)))
             ;; -------- hash element assignments with bareword key =3D> va=
lue
             ;; (matcher subexp facespec)
             (,(rx (in "[ \t{,()")
                    (group-n 1 (sequence (opt "-")
                                         (eval cperl--basic-identifier-rx)))
                    (0+ blank) "=3D>")
-              1 font-lock-string-face)
+              1 'font-lock-string-face)
              ;; -------- @$ array dereferences, $#$ last array index
              ;; (matcher (subexp facespec) (subexp facespec))
              (,(rx (group-n 1 (or "@" "$#"))
@@ -6675,7 +6675,7 @@ cperl-init-faces
                                             (not (in " \t\n"))))))
 	     ;; ("\\(@\\|\\$#\\)\\(\\$+\\([a-zA-Z_:][a-zA-Z0-9_:]*\\|[^ \t\n]\\)\=
\)"
 	      (1 'cperl-array-face)
-	      (2 font-lock-variable-name-face))
+	      (2 'font-lock-variable-name-face))
              ;; -------- %$ hash dereferences
              ;; (matcher (subexp facespec) (subexp facespec))
              (,(rx (group-n 1 "%")
@@ -6684,7 +6684,7 @@ cperl-init-faces
                                             (not (in " \t\n"))))))
 	     ;; ("\\(%\\)\\(\\$+\\([a-zA-Z_:][a-zA-Z0-9_:]*\\|[^ \t\n]\\)\\)"
 	      (1 'cperl-hash-face)
-	      (2 font-lock-variable-name-face))
+	      (2 'font-lock-variable-name-face))
              ;; -------- access to array/hash elements
              ;; (matcher subexp facespec)
              ;; facespec is an expression to distinguish between arrays an=
d hashes
@@ -6698,7 +6698,7 @@ cperl-init-faces
 		  (if (eq (char-after (match-beginning 3)) ?{)
 		      'cperl-hash-face
 		    'cperl-array-face)             ; arrays and hashes
-		font-lock-variable-name-face)      ; Just to put something
+		'font-lock-variable-name-face)      ; Just to put something
 	      nil)                                 ; do not override previous
              ;; -------- "Pure" arrays and hashes.
              ;; (matcher subexp facespec)
@@ -6714,16 +6714,16 @@ cperl-init-faces
              ;;("\\([smy]\\|tr\\)\\([^a-z_A-Z0-9]\\)\\(\\([^\n\\]*||\\)\\)=
\\2")
              ;; Too much noise from \s* @s[ and friends
 	     ;;("\\(\\<\\([msy]\\|tr\\)[ \t]*\\([^ \t\na-zA-Z0-9_]\\)\\|\\(/\\)\\=
)"
-	     ;;(3 font-lock-function-name-face t t)
+	     ;;(3 'font-lock-function-name-face t t)
 	     ;;(4
 	     ;; (if (cperl-slash-is-regexp)
-	     ;;    font-lock-function-name-face 'default) nil t))
+	     ;;    'font-lock-function-name-face 'default) nil t))
 	     ))
 	  (if cperl-highlight-variables-indiscriminately
 	      (setq t-font-lock-keywords-1
 		    (append t-font-lock-keywords-1
 			    (list '("\\([$*]{?\\(?:\\sw+\\|::\\)+\\)" 1
-				    font-lock-variable-name-face)))))
+				    'font-lock-variable-name-face)))))
 	  (setq cperl-font-lock-keywords-1
 		(if cperl-syntaxify-by-font-lock
 		    (cons 'cperl-fontify-update
diff --git a/lisp/progmodes/cwarn.el b/lisp/progmodes/cwarn.el
index 1d298f9e72c..3a8ac021074 100644
--- a/lisp/progmodes/cwarn.el
+++ b/lisp/progmodes/cwarn.el
@@ -260,7 +260,7 @@ cwarn-font-lock-match
=20
 (defconst cwarn-font-lock-assignment-keywords
   '((cwarn-font-lock-match-assignment-in-expression
-     (1 font-lock-warning-face))))
+     (1 'font-lock-warning-face))))
=20
 (defun cwarn-font-lock-match-assignment-in-expression (limit)
   "Match assignments inside expressions."
@@ -280,7 +280,7 @@ cwarn-font-lock-match-assignment-in-expression
 ;;{{{ Semicolon
=20
 (defconst cwarn-font-lock-semicolon-keywords
-  '((cwarn-font-lock-match-dangerous-semicolon (0 font-lock-warning-face))=
))
+  '((cwarn-font-lock-match-dangerous-semicolon (0 'font-lock-warning-face)=
)))
=20
 (defun cwarn-font-lock-match-dangerous-semicolon (limit)
   "Match semicolons directly after `for', `while', and `if'.
@@ -300,7 +300,7 @@ cwarn-font-lock-match-dangerous-semicolon
 ;;{{{ Reference
=20
 (defconst cwarn-font-lock-reference-keywords
-  '((cwarn-font-lock-match-reference (1 font-lock-warning-face))))
+  '((cwarn-font-lock-match-reference (1 'font-lock-warning-face))))
=20
 (defun cwarn-font-lock-match-reference (limit)
   "Font-lock matcher for C++ reference parameters."
diff --git a/lisp/progmodes/dcl-mode.el b/lisp/progmodes/dcl-mode.el
index 0bc92c4ecdb..aeb613d5803 100644
--- a/lisp/progmodes/dcl-mode.el
+++ b/lisp/progmodes/dcl-mode.el
@@ -72,11 +72,11 @@
=20
 (defvar dcl-font-lock-keywords
   '(("\\<\\(if\\|then\\|else\\|endif\\)\\>"
-     1 font-lock-keyword-face)
+     1 'font-lock-keyword-face)
     ("\\<f[$][a-z_]+\\>"
-     0 font-lock-builtin-face)
+     0 'font-lock-builtin-face)
     ("[.]\\(eq\\|not\\|or\\|and\\|lt\\|gt\\|le\\|ge\\|eqs\\|nes\\)[.]"
-     0 font-lock-builtin-face))
+     0 'font-lock-builtin-face))
   "Font lock keyword specification for DCL mode.
 Presently this includes some syntax, .OP.erators, and \"f$\" lexicals.")
=20
diff --git a/lisp/progmodes/executable.el b/lisp/progmodes/executable.el
index e318b7a7cd8..0cf254d34b6 100644
--- a/lisp/progmodes/executable.el
+++ b/lisp/progmodes/executable.el
@@ -107,7 +107,7 @@ executable-self-display
=20
=20
 (defvar executable-font-lock-keywords
-  '(("\\`#!.*/\\([^ \t\n]+\\)" 1 font-lock-keyword-face t))
+  '(("\\`#!.*/\\([^ \t\n]+\\)" 1 'font-lock-keyword-face t))
   "Rules for highlighting executable scripts' magic number.
 This can be included in `font-lock-keywords' by modes that call `executabl=
e'.")
=20
diff --git a/lisp/progmodes/f90.el b/lisp/progmodes/f90.el
index 3a6c171a1bb..c83bfb25581 100644
--- a/lisp/progmodes/f90.el
+++ b/lisp/progmodes/f90.el
@@ -527,15 +527,15 @@ f90-font-lock-keywords-1
   (list
    ;; Special highlighting of "module procedure".
    '("\\_<\\(module[ \t]*procedure\\)\\_>\\([^()\n]*::\\)?[ \t]*\\([^&!\n]=
*\\)"
-     (1 font-lock-keyword-face) (3 font-lock-function-name-face nil t))
+     (1 'font-lock-keyword-face) (3 'font-lock-function-name-face nil t))
    ;; Highlight definition of derived type.
 ;;;    '("\\_<\\(\\(?:end[ \t]*\\)?type\\)\\_>\\([^()\n]*::\\)?[ \t]*\\(\\=
(?:\\sw\\|\\s_\\)+\\)"
-;;;      (1 font-lock-keyword-face) (3 font-lock-function-name-face))
+;;;      (1 'font-lock-keyword-face) (3 'font-lock-function-name-face))
    '(f90-typedef-matcher
-     (1 font-lock-keyword-face) (2 font-lock-function-name-face))
+     (1 'font-lock-keyword-face) (2 'font-lock-function-name-face))
    ;; F2003.  Prevent operators being highlighted as functions.
    '("\\_<\\(\\(?:end[ \t]*\\)?interface[ \t]*\\(?:assignment\\|operator\\=
|\
-read\\|write\\)\\)[ \t]*(" (1 font-lock-keyword-face t))
+read\\|write\\)\\)[ \t]*(" (1 'font-lock-keyword-face t))
    ;; Other functions and declarations.  Named interfaces =3D F2003.
    ;; F2008: end submodule submodule_name.
    ;; F2008: module function|subroutine NAME.
@@ -543,18 +543,18 @@ f90-font-lock-keywords-1
 \\(?:module[ \t]*\\)?\\(?:function\\|subroutine\\)\\|\
 \\(?:sub\\)?module\\|associate\\|interface\\)\\|use\\|call\\)\
 \\_>[ \t]*\\(\\(?:\\sw\\|\\s_\\)+\\)?"
-     (1 font-lock-keyword-face) (3 font-lock-function-name-face nil t))
+     (1 'font-lock-keyword-face) (3 'font-lock-function-name-face nil t))
    ;; F2008: submodule (parent_name) submodule_name.
    '("\\_<\\(submodule\\)\\_>[ \t]*([^)\n]+)[ \t]*\\(\\(?:\\sw\\|\\s_\\)+\=
\)?"
-     (1 font-lock-keyword-face) (2 font-lock-function-name-face nil t))
+     (1 'font-lock-keyword-face) (2 'font-lock-function-name-face nil t))
    ;; F2003.
    '("\\_<\\(use\\)[ \t]*,[ \t]*\\(\\(?:non_\\)?intrinsic\\)[ \t]*::[ \t]*\
 \\(\\(?:\\sw\\|\\s_\\)+\\)"
-     (1 font-lock-keyword-face) (2 font-lock-keyword-face)
-     (3 font-lock-function-name-face))
+     (1 'font-lock-keyword-face) (2 'font-lock-keyword-face)
+     (3 'font-lock-function-name-face))
    "\\_<\\(\\(end[ \t]*\\)?block[ \t]*data\\|contains\\)\\_>"
    ;; "abstract interface" is F2003.
-   '("\\_<abstract[ \t]*interface\\_>" (0 font-lock-keyword-face t)))
+   '("\\_<abstract[ \t]*interface\\_>" (0 'font-lock-keyword-face t)))
   "This does fairly subdued highlighting of comments and function calls.")
=20
 ;; NB not explicitly handling this, yet it seems to work.
@@ -598,7 +598,7 @@ f90-font-lock-keywords-2
   (append
    f90-font-lock-keywords-1
    (list
-    '("\\(&\\)[ \t]*\\(!\\|$\\)"  (1 font-lock-keyword-face))
+    '("\\(&\\)[ \t]*\\(!\\|$\\)"  (1 'font-lock-keyword-face))
     ;; Variable declarations (avoid the real function call).
     ;; NB by accident (?), this correctly fontifies the "integer" in:
     ;; integer () function foo ()
@@ -611,13 +611,13 @@ f90-font-lock-keywords-2
 \\(real\\|integer\\|c\\(haracter\\|omplex\\)\\|\
 enumerator\\|generic\\|procedure\\|logical\\|double[ \t]*precision\\)\
 \\(.*::\\|[ \t]*(.*)\\)?\\([^&!\n]*\\(?:&\n[^&!\n]*\\)*\\)"
-      (1 font-lock-type-face t) (4 font-lock-variable-name-face append))
+      (1 'font-lock-type-face t) (4 'font-lock-variable-name-face append))
     ;; Derived type/class variables.
     ;; TODO ? If we just highlighted the "type" part, rather than
     ;; "type(...)", this could be in the previous expression. And this
     ;; would be consistent with integer( kind=3D8 ), etc.
     '(f90-typedec-matcher
-      (1 font-lock-type-face) (2 font-lock-variable-name-face))
+      (1 'font-lock-type-face) (2 'font-lock-variable-name-face))
     ;; "real function foo (args)". Must override previous.  Note hack
     ;; to get "args" unhighlighted again. Might not always be right,
     ;; but probably better than leaving them as variables.
@@ -629,10 +629,10 @@ f90-font-lock-keywords-2
 logical\\|double[ \t]*precision\\|\
 \\(?:type\\|class\\)[ \t]*([ \t]*\\(?:\\sw\\|\\s_\\)+[ \t]*)\\)[ \t]*\\)\
 \\(function\\)\\_>[ \t]*\\(\\(?:\\sw\\|\\s_\\)+\\)[ \t]*\\(([^&!\n]*)\\)"
-      (1 font-lock-type-face t) (4 font-lock-keyword-face t)
-      (5 font-lock-function-name-face t) (6 'default t))
+      (1 'font-lock-type-face t) (4 'font-lock-keyword-face t)
+      (5 'font-lock-function-name-face t) (6 'default t))
     ;; enum (F2003; must be followed by ", bind(C)").
-    '("\\_<\\(enum\\)[ \t]*," (1 font-lock-keyword-face))
+    '("\\_<\\(enum\\)[ \t]*," (1 'font-lock-keyword-face))
     ;; end do, enum (F2003), if, select, where, and forall constructs.
     ;; block, critical (F2008).
     ;; Note that "block data" may get somewhat mixed up with F2008 blocks,
@@ -640,41 +640,41 @@ f90-font-lock-keywords-2
     '("\\_<\\(end[ \t]*\\(do\\|if\\|enum\\|select\\|forall\\|where\\|\
 block\\|critical\\)\\)\\_>\
 \\([ \t]+\\(\\(?:\\sw\\|\\s_\\)+\\)\\)?"
-      (1 font-lock-keyword-face) (3 font-lock-constant-face nil t))
+      (1 'font-lock-keyword-face) (3 'font-lock-constant-face nil t))
     '("^[ \t0-9]*\\(\\(\\(?:\\sw\\|\\s_\\)+\\)[ \t]*:[ \t]*\\)?\\(\\(if\\|\
 do\\([ \t]*while\\)?\\|select[ \t]*\\(?:case\\|type\\)\\|where\\|\
 forall\\|block\\|critical\\)\\)\\_>"
-      (2 font-lock-constant-face nil t) (3 font-lock-keyword-face))
+      (2 'font-lock-constant-face nil t) (3 'font-lock-keyword-face))
     ;; Implicit declaration.
     '("\\_<\\(implicit\\)[ \t]+\\(real\\|integer\\|c\\(haracter\\|omplex\\=
)\
 \\|enumerator\\|procedure\\|\
 logical\\|double[ \t]*precision\\|type[ \t]*(\\(?:\\sw\\|\\s_\\)+)\\|none\=
\)[ \t]*"
-      (1 font-lock-keyword-face) (2 font-lock-type-face))
+      (1 'font-lock-keyword-face) (2 'font-lock-type-face))
     '("\\_<\\(namelist\\|common\\)[ \t]*/\\(\\(?:\\sw\\|\\s_\\)+\\)?/"
-      (1 font-lock-keyword-face) (2 font-lock-constant-face nil t))
+      (1 'font-lock-keyword-face) (2 'font-lock-constant-face nil t))
     "\\_<else\\([ \t]*if\\|where\\)?\\_>"
     "\\_<\\(then\\|continue\\|format\\|include\\|\\(?:error[ \t]+\\)?stop\=
\|\
 return\\)\\_>"
     '("\\_<\\(exit\\|cycle\\)[ \t]+\\(\\(?:\\sw\\|\\s_\\)+\\)?\\_>"
-      (1 font-lock-keyword-face) (2 font-lock-constant-face nil t))
+      (1 'font-lock-keyword-face) (2 'font-lock-constant-face nil t))
     '("\\_<\\(exit\\|cycle\\)\\_>"
-      (1 font-lock-keyword-face))
+      (1 'font-lock-keyword-face))
     '("\\_<\\(case\\)[ \t]*\\(default\\|(\\)" . 1)
     ;; F2003 "class default".
     '("\\_<\\(class\\)[ \t]*default" . 1)
     ;; F2003 "type is" in a "select type" block.
-    '("\\_<\\(\\(type\\|class\\)[ \t]*is\\)[ \t]*(" (1 font-lock-keyword-f=
ace t))
+    '("\\_<\\(\\(type\\|class\\)[ \t]*is\\)[ \t]*(" (1 'font-lock-keyword-=
face t))
     '("\\_<\\(do\\|go[ \t]*to\\)\\_>[ \t]*\\([0-9]+\\)"
-      (1 font-lock-keyword-face) (2 font-lock-constant-face))
+      (1 'font-lock-keyword-face) (2 'font-lock-constant-face))
     ;; Line numbers (lines whose first character after number is letter).
-    '("^[ \t]*\\([0-9]+\\)[ \t]*[a-z]+" (1 font-lock-constant-face t))
+    '("^[ \t]*\\([0-9]+\\)[ \t]*[a-z]+" (1 'font-lock-constant-face t))
     ;; Override eg for "#include".
-    '("^#[ \t]*\\(?:\\sw\\|\\s_\\)+" (0 font-lock-preprocessor-face t)
-      ("\\_<defined\\_>" nil nil (0 font-lock-preprocessor-face)))
-    '("^#" ("\\(&&\\|||\\)" nil nil (0 font-lock-constant-face t)))
-    '("^#[ \t]*define[ \t]+\\(\\(?:\\sw\\|\\s_\\)+\\)(" (1 font-lock-funct=
ion-name-face))
-    '("^#[ \t]*define[ \t]+\\(\\(?:\\sw\\|\\s_\\)+\\)" (1 font-lock-variab=
le-name-face))
-    '("^#[ \t]*include[ \t]+\\(<.+>\\)" (1 font-lock-string-face))))
+    '("^#[ \t]*\\(?:\\sw\\|\\s_\\)+" (0 'font-lock-preprocessor-face t)
+      ("\\_<defined\\_>" nil nil (0 'font-lock-preprocessor-face)))
+    '("^#" ("\\(&&\\|||\\)" nil nil (0 'font-lock-constant-face t)))
+    '("^#[ \t]*define[ \t]+\\(\\(?:\\sw\\|\\s_\\)+\\)(" (1 'font-lock-func=
tion-name-face))
+    '("^#[ \t]*define[ \t]+\\(\\(?:\\sw\\|\\s_\\)+\\)" (1 'font-lock-varia=
ble-name-face))
+    '("^#[ \t]*include[ \t]+\\(<.+>\\)" (1 'font-lock-string-face))))
   "Highlights declarations, do-loops and other constructs.")
=20
 (defvar f90-font-lock-keywords-3
@@ -684,7 +684,7 @@ f90-font-lock-keywords-3
            f90-operators-re
            ;; FIXME why isn't this font-lock-builtin-face, which
            ;; otherwise we hardly use, as in fortran.el?
-           (list f90-procedures-re '(1 font-lock-keyword-face keep))
+           (list f90-procedures-re '(1 'font-lock-keyword-face keep))
            "\\_<real\\_>"                 ; avoid overwriting real defs
            ;; As an attribute, but not as an optional argument.
            '("\\_<\\(asynchronous\\)[ \t]*[^=3D]" . 1)))
@@ -692,7 +692,7 @@ f90-font-lock-keywords-3
=20
 (defvar f90-font-lock-keywords-4
   (append f90-font-lock-keywords-3
-          (list (cons f90-constants-re 'font-lock-constant-face)
+          (list (cons f90-constants-re ''font-lock-constant-face)
                 f90-hpf-keywords-re))
   "Highlights all F90 and HPF keywords and constants.")
=20
diff --git a/lisp/progmodes/fortran.el b/lisp/progmodes/fortran.el
index 6532b0a1861..888194bff0b 100644
--- a/lisp/progmodes/fortran.el
+++ b/lisp/progmodes/fortran.el
@@ -369,15 +369,15 @@ fortran-font-lock-keywords-1
   ;; Program, subroutine and function declarations, plus calls.
   '(("\\<\\(block[ \t]*data\\|call\\|entry\\|function\\|\
 program\\|subroutine\\)\\>[ \t]*\\(\\sw+\\)?"
-     (1 font-lock-keyword-face)
-     (2 font-lock-function-name-face nil t)))
+     (1 'font-lock-keyword-face)
+     (2 'font-lock-function-name-face nil t)))
   "Subdued level highlighting for Fortran mode.")
=20
 (defvar fortran-font-lock-keywords-2
   (append fortran-font-lock-keywords-1
           (list
            ;; Fontify all type specifiers (must be first - see below).
-           (cons fortran-type-types 'font-lock-type-face)
+           (cons fortran-type-types ''font-lock-type-face)
            ;; Builtin keywords (except logical, do and goto - see below).
            (concat "\\<" (regexp-opt
                           '("continue" "format" "end" "enddo"
@@ -395,9 +395,9 @@ fortran-font-lock-keywords-2
                           'paren) "\\.")
            ;; do/goto keywords and targets, and goto tags.
            '("\\<\\(do\\|go *to\\)\\>[ \t]*\\([0-9]+\\)?"
-             (1 font-lock-keyword-face)
-             (2 font-lock-constant-face nil t))
-           '("^ *\\([0-9]+\\)" . font-lock-constant-face)))
+             (1 'font-lock-keyword-face)
+             (2 'font-lock-constant-face nil t))
+           '("^ *\\([0-9]+\\)" . 'font-lock-constant-face)))
   "Medium level highlighting for Fortran mode.")
=20
 ;; See bug#1385. Never really looked into _why_ this matters...
@@ -429,7 +429,7 @@ fortran-font-lock-keywords-3
    (list
     (list (concat fortran-type-types "[ \t(/]*\\(\\*\\)?")
           ;; Type specifier.
-          '(1 font-lock-type-face)
+          '(1 'font-lock-type-face)
           ;; Declaration item (or just /.../ block name).
           `(fortran-match-and-skip-declaration
             ;; Start after any *(...) expression.
@@ -442,16 +442,16 @@ fortran-font-lock-keywords-3
             ;; No need to clean up.
             nil
             ;; Fontify as a variable name, functions fontified elsewhere.
-            (1 font-lock-variable-name-face nil t))))
+            (1 'font-lock-variable-name-face nil t))))
    ;; Things extra to `fortran-font-lock-keywords-3' (must be done first).
    (list
     ;; Goto-like `err=3Dlabel'/`end=3Dlabel' in read/write statements.
     '(", *\\(e\\(nd\\|rr\\)\\)\\> *\\(=3D *\\([0-9]+\\)\\)?"
-      (1 font-lock-keyword-face) (4 font-lock-constant-face nil t))
+      (1 'font-lock-keyword-face) (4 'font-lock-constant-face nil t))
     ;; Standard continuation character and in a TAB-formatted line.
-    '("^ \\{5\\}\\([^ 0\n]\\)" 1 font-lock-string-face)
-    '("^\t\\([1-9]\\)"         1 font-lock-string-face))
-   `((,fortran-directive-re (0 font-lock-preprocessor-face t)))
+    '("^ \\{5\\}\\([^ 0\n]\\)" 1 'font-lock-string-face)
+    '("^\t\\([1-9]\\)"         1 'font-lock-string-face))
+   `((,fortran-directive-re (0 'font-lock-preprocessor-face t)))
    ;; `fortran-font-lock-keywords-2' without types (see above).
    (cdr (nthcdr (length fortran-font-lock-keywords-1)
                 fortran-font-lock-keywords-2)))
@@ -476,7 +476,9 @@ fortran-font-lock-keywords-4
                             "dcos" "ccos" "tan" "dtan" "asin" "dasin"
                             "acos" "dacos" "atan" "datan" "atan2" "datan2"
                             "sinh" "dsinh" "cosh" "dcosh" "tanh" "dtanh")
-                          'paren) "[ \t]*(") '(1 font-lock-builtin-face))))
+                          'paren)
+                         "[ \t]*(")
+                 '(1 'font-lock-builtin-face))))
   "Maximum highlighting for Fortran mode.
 Consists of level 3 plus all other intrinsics not already highlighted.")
=20
diff --git a/lisp/progmodes/gdb-mi.el b/lisp/progmodes/gdb-mi.el
index 2174c8d7908..cc5211d3711 100644
--- a/lisp/progmodes/gdb-mi.el
+++ b/lisp/progmodes/gdb-mi.el
@@ -3514,10 +3514,10 @@ gdb-frame-threads-buffer
  'gdb-invalidate-threads)
=20
 (defvar gdb-threads-font-lock-keywords
-  '(("in \\([^ ]+\\)"  (1 font-lock-function-name-face))
-    (" \\(stopped\\)"  (1 font-lock-warning-face))
-    (" \\(running\\)"  (1 font-lock-string-face))
-    ("\\(\\(\\sw\\|[_.]\\)+\\)=3D"  (1 font-lock-variable-name-face)))
+  '(("in \\([^ ]+\\)"  (1 'font-lock-function-name-face))
+    (" \\(stopped\\)"  (1 'font-lock-warning-face))
+    (" \\(running\\)"  (1 'font-lock-string-face))
+    ("\\(\\(\\sw\\|[_.]\\)+\\)=3D"  (1 'font-lock-variable-name-face)))
   "Font lock keywords used in `gdb-threads-mode'.")
=20
 (defvar gdb-threads-mode-map
@@ -4049,7 +4049,7 @@ gdb-memory-unit-menu-1
 (defvar gdb-memory-font-lock-keywords
   '(;; <__function.name+n>
     ("<\\(\\(\\sw\\|[_.]\\)+\\)\\(\\+[0-9]+\\)?>"
-     (1 font-lock-function-name-face)))
+     (1 'font-lock-function-name-face)))
   "Font lock keywords used in `gdb-memory-mode'.")
=20
 (defvar gdb-memory-header
@@ -4058,7 +4058,7 @@ gdb-memory-header
      "Start address "
      ;; If `gdb-memory-address-expression' is nil, `propertize' would erro=
r.
      (propertize (or gdb-memory-address-expression "N/A")
-                 'face font-lock-warning-face
+                 'face 'font-lock-warning-face
                  'help-echo "mouse-1: set start address"
                  'mouse-face 'mode-line-highlight
                  'local-map (gdb-make-header-line-mouse-map
@@ -4069,7 +4069,7 @@ gdb-memory-header
        "")
      " ["
      (propertize "-"
-                 'face font-lock-warning-face
+                 'face 'font-lock-warning-face
                  'help-echo "mouse-1: decrement address"
                  'mouse-face 'mode-line-highlight
                  'local-map (gdb-make-header-line-mouse-map
@@ -4077,7 +4077,7 @@ gdb-memory-header
                              #'gdb-memory-show-previous-page))
      "|"
      (propertize "+"
-                 'face font-lock-warning-face
+                 'face 'font-lock-warning-face
                  'help-echo "mouse-1: increment address"
                  'mouse-face 'mode-line-highlight
                  'local-map (gdb-make-header-line-mouse-map
@@ -4086,10 +4086,10 @@ gdb-memory-header
      "]: "
      ;; If `gdb-memory-address' is nil, `propertize' would error.
      (propertize (or gdb-memory-address "N/A")
-                 'face font-lock-warning-face)
+                 'face 'font-lock-warning-face)
      "  Rows: "
      (propertize (number-to-string gdb-memory-rows)
-                 'face font-lock-warning-face
+                 'face 'font-lock-warning-face
                  'help-echo "mouse-1: set number of columns"
                  'mouse-face 'mode-line-highlight
                  'local-map (gdb-make-header-line-mouse-map
@@ -4097,7 +4097,7 @@ gdb-memory-header
                              #'gdb-memory-set-rows))
      "  Columns: "
      (propertize (number-to-string gdb-memory-columns)
-                 'face font-lock-warning-face
+                 'face 'font-lock-warning-face
                  'help-echo "mouse-1: set number of columns"
                  'mouse-face 'mode-line-highlight
                  'local-map (gdb-make-header-line-mouse-map
@@ -4105,13 +4105,13 @@ gdb-memory-header
                              #'gdb-memory-set-columns))
      "  Display Format: "
      (propertize gdb-memory-format
-                 'face font-lock-warning-face
+                 'face 'font-lock-warning-face
                  'help-echo "mouse-3: select display format"
                  'mouse-face 'mode-line-highlight
                  'local-map gdb-memory-format-map)
      "  Unit Size: "
      (propertize (number-to-string gdb-memory-unit)
-                 'face font-lock-warning-face
+                 'face 'font-lock-warning-face
                  'help-echo "mouse-3: select unit size"
                  'mouse-face 'mode-line-highlight
                  'local-map gdb-memory-unit-map)))
@@ -4189,16 +4189,16 @@ gdb-invalidate-disassembly
 (defvar gdb-disassembly-font-lock-keywords
   '(;; <__function.name+n>
     ("<\\(\\(\\sw\\|[_.]\\)+\\)\\(\\+[0-9]+\\)?>"
-     (1 font-lock-function-name-face))
+     (1 'font-lock-function-name-face))
     ;; 0xNNNNNNNN <__function.name+n>: opcode
     ("^0x[0-9a-f]+ \\(<\\(\\(\\sw\\|[_.]\\)+\\)\\+[0-9]+>\\)?:[ \t]+\\(\\s=
w+\\)"
-     (4 font-lock-keyword-face))
+     (4 'font-lock-keyword-face))
     ;; %register(at least i386)
-    ("%\\sw+" . font-lock-variable-name-face)
+    ("%\\sw+" . 'font-lock-variable-name-face)
     ("^\\(Dump of assembler code for function\\) \\(.+\\):"
-     (1 font-lock-comment-face)
-     (2 font-lock-function-name-face))
-    ("^\\(End of assembler dump\\.\\)" . font-lock-comment-face))
+     (1 'font-lock-comment-face)
+     (2 'font-lock-function-name-face))
+    ("^\\(End of assembler dump\\.\\)" . 'font-lock-comment-face))
   "Font lock keywords used in `gdb-disassembly-mode'.")
=20
 (defvar gdb-disassembly-mode-map
@@ -4413,7 +4413,7 @@ gdb-frames-mode-map
     map))
=20
 (defvar gdb-frames-font-lock-keywords
-  '(("in \\([^ ]+\\)"  (1 font-lock-function-name-face)))
+  '(("in \\([^ ]+\\)"  (1 'font-lock-function-name-face)))
   "Font lock keywords used in `gdb-frames-mode'.")
=20
 (define-derived-mode gdb-frames-mode gdb-parent-mode "Frames"
diff --git a/lisp/progmodes/gud.el b/lisp/progmodes/gud.el
index e0e6ba7c88c..e0121ac4a33 100644
--- a/lisp/progmodes/gud.el
+++ b/lisp/progmodes/gud.el
@@ -3477,9 +3477,9 @@ gdb-script-mode-syntax-table
     st))
=20
 (defvar gdb-script-font-lock-keywords
-  '(("^define\\s-+\\(\\(\\w\\|\\s_\\)+\\)" (1 font-lock-function-name-face=
))
-    ("\\$\\(\\w+\\)" (1 font-lock-variable-name-face))
-    ("^\\s-*\\(\\w\\(\\w\\|\\s_\\)*\\)" (1 font-lock-keyword-face))))
+  '(("^define\\s-+\\(\\(\\w\\|\\s_\\)+\\)" (1 'font-lock-function-name-fac=
e))
+    ("\\$\\(\\w+\\)" (1 'font-lock-variable-name-face))
+    ("^\\s-*\\(\\w\\(\\w\\|\\s_\\)*\\)" (1 'font-lock-keyword-face))))
=20
 (defconst gdb-script-syntax-propertize-function
   (syntax-propertize-rules
diff --git a/lisp/progmodes/icon.el b/lisp/progmodes/icon.el
index 9dffc916175..2920884022f 100644
--- a/lisp/progmodes/icon.el
+++ b/lisp/progmodes/icon.el
@@ -568,7 +568,7 @@ icon-font-lock-keywords-1
     (list
      ;; Fontify procedure name definitions.
        '("^[ \t]*\\(procedure\\)\\>[ \t]*\\(\\sw+\\)?"
-       (1 font-lock-builtin-face) (2 font-lock-function-name-face nil t))))
+       (1 'font-lock-builtin-face) (2 'font-lock-function-name-face nil t)=
)))
   "Subdued level highlighting for Icon mode.")
=20
 (defconst icon-font-lock-keywords-2
@@ -580,7 +580,7 @@ icon-font-lock-keywords-2
       (cons
        (regexp-opt  '("null" "string" "co-expression" "table" "integer"
 		      "cset"  "set" "real" "file" "list") 'words)
-       'font-lock-type-face)
+       ''font-lock-type-face)
       ;; Fontify all keywords.
       ;;
       (cons
@@ -588,10 +588,10 @@ icon-font-lock-keywords-2
 	'("break" "do" "next" "repeat" "to" "by" "else" "if" "not" "return"
 	  "until" "case" "of" "while" "create" "every" "suspend" "default"
 	  "fail" "record" "then") 'words)
-       'font-lock-keyword-face)
+       ''font-lock-keyword-face)
       ;; "end" "initial"
       (cons (regexp-opt '("end" "initial") 'words)
-	    'font-lock-builtin-face)
+	    ''font-lock-builtin-face)
       ;; Fontify all system variables.
       (cons
        (regexp-opt
@@ -605,33 +605,33 @@ icon-font-lock-keywords-2
 	  "&progname" "&random" "&rdrag" "&regions" "&resize" "&row"
 	  "&rpress" "&rrelease" "&shift" "&source" "&storage" "&subject"
 	  "&time" "&trace" "&ucase" "&version" "&window" "&x" "&y") t)
-       'font-lock-constant-face)
+       ''font-lock-constant-face)
       (cons      ;; global local static declarations and link files
        (concat
 	"^[ \t]*"
 	(regexp-opt '("global" "link" "local" "static") t)
 	"\\(\\sw+\\>\\)*")
-       '((1 font-lock-builtin-face)
+       '((1 'font-lock-builtin-face)
 	 (font-lock-match-c-style-declaration-item-and-skip-to-next
 	  (goto-char (or (match-beginning 2) (match-end 1))) nil
 	  (1 (if (match-beginning 2)
-		 font-lock-function-name-face
-	       font-lock-variable-name-face)))))
+		 'font-lock-function-name-face
+	       'font-lock-variable-name-face)))))
=20
       (cons      ;; $define $elif $ifdef $ifndef $undef
        (concat "^"
 	       (regexp-opt'("$define" "$elif" "$ifdef" "$ifndef" "$undef") t)
 	       "\\>[ \t]*\\([^ \t\n]+\\)?")
-	    '((1 font-lock-builtin-face)
-	      (4 font-lock-variable-name-face nil t)))
+	    '((1 'font-lock-builtin-face)
+	      (4 'font-lock-variable-name-face nil t)))
       (cons      ;; $dump $endif $else $include
        (concat
 	"^" (regexp-opt'("$dump" "$endif" "$else" "$include") t) "\\>" )
-       'font-lock-builtin-face)
+       ''font-lock-builtin-face)
       (cons      ;; $warning $error
        (concat "^" (regexp-opt '("$warning" "$error") t)
 	       "\\>[ \t]*\\(.+\\)?")
-       '((1 font-lock-builtin-face) (3 font-lock-warning-face nil t))))))
+       '((1 'font-lock-builtin-face) (3 'font-lock-warning-face nil t))))))
   "Gaudy level highlighting for Icon mode.")
=20
 (defvar icon-font-lock-keywords icon-font-lock-keywords-1
diff --git a/lisp/progmodes/js.el b/lisp/progmodes/js.el
index 485cb987d0f..51f728a4d3e 100644
--- a/lisp/progmodes/js.el
+++ b/lisp/progmodes/js.el
@@ -309,15 +309,15 @@ js--constant-re
 (defconst js--font-lock-keywords-1
   (list
    "\\_<import\\_>"
-   (list js--function-heading-1-re 1 'font-lock-function-name-face)
-   (list js--function-heading-2-re 1 'font-lock-function-name-face))
+   (list js--function-heading-1-re 1 ''font-lock-function-name-face)
+   (list js--function-heading-2-re 1 ''font-lock-function-name-face))
   "Level one font lock keywords for `js-mode'.")
=20
 (defconst js--font-lock-keywords-2
   (append js--font-lock-keywords-1
-          (list (list js--keyword-re 1 'font-lock-keyword-face)
-                (cons js--basic-type-re 'font-lock-type-face)
-                (cons js--constant-re 'font-lock-constant-face)))
+          (list (list js--keyword-re 1 ''font-lock-keyword-face)
+                (cons js--basic-type-re ''font-lock-type-face)
+                (cons js--constant-re ''font-lock-constant-face)))
   "Level two font lock keywords for `js-mode'.")
=20
 ;; js--pitem is the basic building block of the lexical
@@ -1540,7 +1540,7 @@ js--variable-decl-matcher
                          t))
                    (cond ((looking-at js--name-re)
                           (font-lock-apply-highlight
-                           '(0 font-lock-variable-name-face))
+                           '(0 'font-lock-variable-name-face))
                           (goto-char (match-end 0)))
=20
                          ((save-excursion
@@ -1549,7 +1549,7 @@ js--variable-decl-matcher
                           (js--forward-destructuring-spec
                            (lambda ()
                              (font-lock-apply-highlight
-                              '(0 font-lock-variable-name-face)))))))
+                              '(0 'font-lock-variable-name-face)))))))
=20
             (forward-comment most-positive-fixnum)
             (when (eq (char-after) ?=3D)
@@ -1586,8 +1586,8 @@ js--variable-decl-matcher
 ;; data recorded as syntax properties for fontification.
=20
 (defconst js-jsx--font-lock-keywords
-  `((js-jsx--match-tag-name 0 font-lock-function-name-face t)
-    (js-jsx--match-attribute-name 0 font-lock-variable-name-face t)
+  `((js-jsx--match-tag-name 0 'font-lock-function-name-face t)
+    (js-jsx--match-attribute-name 0 'font-lock-variable-name-face t)
     (js-jsx--match-text 0 'default t) ; =E2=80=9CUndo=E2=80=9D keyword fon=
tification.
     (js-jsx--match-tag-beg)
     (js-jsx--match-tag-end)
@@ -1674,14 +1674,14 @@ js--font-lock-keywords-3
     ,@js--font-lock-keywords-2
=20
     ("\\.\\(prototype\\)\\_>"
-     (1 font-lock-constant-face))
+     (1 'font-lock-constant-face))
=20
     ;; Highlights class being declared, in parts
     (js--class-decl-matcher
      ,(concat "\\(" js--name-re "\\)\\(?:\\.\\|.*$\\)")
      (goto-char (match-beginning 1))
      nil
-     (1 font-lock-type-face))
+     (1 'font-lock-type-face))
=20
     ;; Highlights parent class, in parts, if available
     (js--class-decl-matcher
@@ -1698,11 +1698,11 @@ js--font-lock-keywords-3
        (save-excursion
          (goto-char js--tmp-location)
          (delete-char 1)))
-     (1 font-lock-type-face))
+     (1 'font-lock-type-face))
=20
     ;; Highlights parent class
     (js--class-decl-matcher
-     (2 font-lock-type-face nil t))
+     (2 'font-lock-type-face nil t))
=20
     ;; Dojo needs its own matcher to override the string highlighting
     (,(js--make-framework-matcher
@@ -1710,8 +1710,8 @@ js--font-lock-keywords-3
        "^\\s-*dojo\\.declare\\s-*(\""
        "\\(" js--dotted-name-re "\\)"
        "\\(?:\"\\s-*,\\s-*\\(" js--dotted-name-re "\\)\\)?")
-     (1 font-lock-type-face t)
-     (2 font-lock-type-face nil t))
+     (1 'font-lock-type-face t)
+     (2 'font-lock-type-face nil t))
=20
     ;; Match Dojo base classes. Of course Mojo has to be different
     ;; from everything else under the sun...
@@ -1723,7 +1723,7 @@ js--font-lock-keywords-3
               "\\(?:\\].*$\\)?")
      (backward-char)
      (end-of-line)
-     (1 font-lock-type-face))
+     (1 'font-lock-type-face))
=20
     ;; continued Dojo base-class list
     (,(js--make-framework-matcher
@@ -1736,7 +1736,7 @@ js--font-lock-keywords-3
          (forward-symbol -1)
        (end-of-line))
      (end-of-line)
-     (1 font-lock-type-face))
+     (1 'font-lock-type-face))
=20
     ;; variable declarations
     ,(list
@@ -1746,12 +1746,12 @@ js--font-lock-keywords-3
     ;; class instantiation
     ,(list
       (concat "\\_<new\\_>\\s-+\\(" js--dotted-name-re "\\)")
-      (list 1 'font-lock-type-face))
+      '(1 'font-lock-type-face))
=20
     ;; instanceof
     ,(list
       (concat "\\_<instanceof\\_>\\s-+\\(" js--dotted-name-re "\\)")
-      (list 1 'font-lock-type-face))
+      '(1 'font-lock-type-face))
=20
     ;; formal parameters
     ,(list
@@ -1761,7 +1761,7 @@ js--font-lock-keywords-3
       (list (concat "\\(" js--name-re "\\)\\(\\s-*).*\\)?")
             '(backward-char)
             '(end-of-line)
-            '(1 font-lock-variable-name-face)))
+            '(1 'font-lock-variable-name-face)))
=20
     ;; continued formal parameter list
     ,(list
@@ -1773,7 +1773,7 @@ js--font-lock-keywords-3
                  (forward-symbol -1)
                (end-of-line))
             '(end-of-line)
-            '(0 font-lock-variable-name-face)))
+            '(0 'font-lock-variable-name-face)))
=20
     ;; jsx (when enabled)
     ,@js-jsx--font-lock-keywords)
diff --git a/lisp/progmodes/ld-script.el b/lisp/progmodes/ld-script.el
index 4819e02e6c5..8af14cf3d89 100644
--- a/lisp/progmodes/ld-script.el
+++ b/lisp/progmodes/ld-script.el
@@ -158,13 +158,13 @@ ld-script-builtins
 (defvar ld-script-font-lock-keywords
   (append
    `((,(concat "\\_<" (regexp-opt ld-script-keywords) "\\_>")
-      0 font-lock-keyword-face)
+      0 'font-lock-keyword-face)
      (,(concat "\\_<" (regexp-opt ld-script-builtins) "\\_>")
-      0 font-lock-builtin-face)
+      0 'font-lock-builtin-face)
      ;; 3.6.7 Output Section Discarding
      ;; 3.6.4.1 Input Section Basics
      ;; 3.6.8.7 Output Section Phdr
-     ("/DISCARD/\\|EXCLUDE_FILE\\|:NONE" . font-lock-warning-face)
+     ("/DISCARD/\\|EXCLUDE_FILE\\|:NONE" . 'font-lock-warning-face)
      ("\\W\\(\\.\\)\\W" 1 ld-script-location-counter-face)
      )
    cpp-font-lock-keywords)
diff --git a/lisp/progmodes/lua-mode.el b/lisp/progmodes/lua-mode.el
index 227d5d777b1..a2103dba217 100644
--- a/lisp/progmodes/lua-mode.el
+++ b/lisp/progmodes/lua-mode.el
@@ -394,55 +394,55 @@ lua-region-end
=20
 (defvar lua-font-lock-keywords
   `(;; Highlight the hash-bang line "#!/foo/bar/lua" as comment
-    ("^#!.*$" . font-lock-comment-face)
+    ("^#!.*$" . 'font-lock-comment-face)
=20
     ;; Builtin constants
     (,(lua-rx (symbol "true" "false" "nil"))
-     . font-lock-constant-face)
+     . 'font-lock-constant-face)
=20
     ;; Keywords
     (,(lua-rx (or lua-keyword lua-keyword-operator))
-     . font-lock-keyword-face)
+     . 'font-lock-keyword-face)
=20
     ;; Labels used by the "goto" statement
     ;; Highlights the following syntax: ::label::
     (,(lua-rx "::" ws lua-name ws "::")
-     . font-lock-constant-face)
+     . 'font-lock-constant-face)
=20
     ;; Highlights the name of the label in the "goto" statement like
     ;; "goto label"
     (,(lua-rx (symbol (seq "goto" ws+ (group-n 1 lua-name))))
-     (1 font-lock-constant-face))
+     (1 'font-lock-constant-face))
=20
     ;; Highlight Lua builtin functions and variables
     (,lua--builtins
-     (1 font-lock-builtin-face) (2 font-lock-builtin-face nil noerror))
+     (1 'font-lock-builtin-face) (2 'font-lock-builtin-face nil noerror))
=20
     (,(lua-rx (symbol "for") ws+ lua-up-to-9-variables)
-     (1 font-lock-variable-name-face)
-     (2 font-lock-variable-name-face nil noerror)
-     (3 font-lock-variable-name-face nil noerror)
-     (4 font-lock-variable-name-face nil noerror)
-     (5 font-lock-variable-name-face nil noerror)
-     (6 font-lock-variable-name-face nil noerror)
-     (7 font-lock-variable-name-face nil noerror)
-     (8 font-lock-variable-name-face nil noerror)
-     (9 font-lock-variable-name-face nil noerror))
+     (1 'font-lock-variable-name-face)
+     (2 'font-lock-variable-name-face nil noerror)
+     (3 'font-lock-variable-name-face nil noerror)
+     (4 'font-lock-variable-name-face nil noerror)
+     (5 'font-lock-variable-name-face nil noerror)
+     (6 'font-lock-variable-name-face nil noerror)
+     (7 'font-lock-variable-name-face nil noerror)
+     (8 'font-lock-variable-name-face nil noerror)
+     (9 'font-lock-variable-name-face nil noerror))
=20
     (,(lua-rx (symbol "function") (? ws+ lua-funcname)
               ws "(" ws lua-up-to-9-variables)
-     (1 font-lock-variable-name-face)
-     (2 font-lock-variable-name-face nil noerror)
-     (3 font-lock-variable-name-face nil noerror)
-     (4 font-lock-variable-name-face nil noerror)
-     (5 font-lock-variable-name-face nil noerror)
-     (6 font-lock-variable-name-face nil noerror)
-     (7 font-lock-variable-name-face nil noerror)
-     (8 font-lock-variable-name-face nil noerror)
-     (9 font-lock-variable-name-face nil noerror))
+     (1 'font-lock-variable-name-face)
+     (2 'font-lock-variable-name-face nil noerror)
+     (3 'font-lock-variable-name-face nil noerror)
+     (4 'font-lock-variable-name-face nil noerror)
+     (5 'font-lock-variable-name-face nil noerror)
+     (6 'font-lock-variable-name-face nil noerror)
+     (7 'font-lock-variable-name-face nil noerror)
+     (8 'font-lock-variable-name-face nil noerror)
+     (9 'font-lock-variable-name-face nil noerror))
=20
     (,(lua-rx lua-funcheader)
-     (1 font-lock-function-name-face))
+     (1 'font-lock-function-name-face))
=20
     ;; local x, y, z
     ;; local x =3D .....
@@ -454,23 +454,23 @@ lua-font-lock-keywords
     ;; "foo" is fontified as function-name-face, and variable-name-face
     ;; is not applied.
     (,(lua-rx (symbol "local") ws+ lua-up-to-9-variables)
-     (1 font-lock-variable-name-face)
-     (2 font-lock-variable-name-face nil noerror)
-     (3 font-lock-variable-name-face nil noerror)
-     (4 font-lock-variable-name-face nil noerror)
-     (5 font-lock-variable-name-face nil noerror)
-     (6 font-lock-variable-name-face nil noerror)
-     (7 font-lock-variable-name-face nil noerror)
-     (8 font-lock-variable-name-face nil noerror)
-     (9 font-lock-variable-name-face nil noerror))
+     (1 'font-lock-variable-name-face)
+     (2 'font-lock-variable-name-face nil noerror)
+     (3 'font-lock-variable-name-face nil noerror)
+     (4 'font-lock-variable-name-face nil noerror)
+     (5 'font-lock-variable-name-face nil noerror)
+     (6 'font-lock-variable-name-face nil noerror)
+     (7 'font-lock-variable-name-face nil noerror)
+     (8 'font-lock-variable-name-face nil noerror)
+     (9 'font-lock-variable-name-face nil noerror))
=20
     (,(lua-rx (or (group-n 1
                            "@" (symbol "author" "copyright" "field" "relea=
se"
                                        "return" "see" "usage" "description=
"))
                   (seq (group-n 1 "@" (symbol "param" "class" "name")) ws+
                        (group-n 2 lua-name))))
-     (1 font-lock-keyword-face t)
-     (2 font-lock-variable-name-face t noerror)))
+     (1 'font-lock-keyword-face t)
+     (2 'font-lock-variable-name-face t noerror)))
   "Default expressions to highlight in Lua mode.")
=20
 (defvar lua-imenu-generic-expression
diff --git a/lisp/progmodes/make-mode.el b/lisp/progmodes/make-mode.el
index a93b6bfc7a9..58605ad14af 100644
--- a/lisp/progmodes/make-mode.el
+++ b/lisp/progmodes/make-mode.el
@@ -346,12 +346,12 @@ makefile-make-font-lock-keywords
      (3 'font-lock-builtin-face prepend t))
=20
     ;; Variable references even in targets/strings/comments.
-    (,var 2 font-lock-variable-name-face prepend)
+    (,var 2 'font-lock-variable-name-face prepend)
=20
     ;; Automatic variable references and single character variable referen=
ces,
     ;; but not shell variables references.
     ("[^$]\\$\\([@%<?^+*_]\\|[a-zA-Z0-9]\\>\\)"
-     1 font-lock-constant-face prepend)
+     1 'font-lock-constant-face prepend)
     ("[^$]\\(\\$[@%*]\\)"
      1 'makefile-targets append)
=20
@@ -417,7 +417,7 @@ makefile-gmake-font-lock-keywords
=20
    ;; $(function ...) ${function ...}
    '("[^$]\\$[({]\\([-a-zA-Z0-9_.]+\\s \\)"
-     1 font-lock-function-name-face prepend)
+     1 'font-lock-function-name-face prepend)
=20
    ;; $(shell ...) ${shell ...}
    '("[^$]\\$\\([({]\\)shell[ \t]+"
@@ -442,7 +442,7 @@ makefile-makepp-font-lock-keywords
=20
    ;; $(function ...) $((function ...)) ${...} ${{...}} $[...] $[[...]]
    '("[^$]\\$\\(?:((?\\|{{?\\|\\[\\[?\\)\\([-a-zA-Z0-9_.]+\\s \\)"
-     1 font-lock-function-name-face prepend)
+     1 'font-lock-function-name-face prepend)
=20
    ;; $(shell ...) $((shell ...)) ${...} ${{...}} $[...] $[[...]]
    '("[^$]\\$\\(((?\\|{{?\\|\\[\\[?\\)shell\\(?:[-_]\\(?:global[-_]\\)?onc=
e\\)?[ \t]+"
@@ -482,16 +482,16 @@ makefile-bsdmake-font-lock-keywords
     nil
     t
     "^\\(?: [ \t]*\\)?\\.\\(?:el\\)?if\\(n?\\)\\(?:def\\|make\\)?\\>[ \t]*=
\\(!?\\)"
-    '("^[ \t]*\\.for[ \t].+[ \t]\\(in\\)\\>" 1 font-lock-keyword-face))
+    '("^[ \t]*\\.for[ \t].+[ \t]\\(in\\)\\>" 1 'font-lock-keyword-face))
    `((,(concat "^\\. *" (regexp-opt makefile-bsdmake-statements) "\\>") 0
-      font-lock-keyword-face))))
+      'font-lock-keyword-face))))
=20
=20
 (defconst makefile-imake-font-lock-keywords
-  (append (list '("XCOMM.*$" . font-lock-comment-face)
+  (append (list '("XCOMM.*$" . 'font-lock-comment-face)
                 '("XVAR\\(?:use\\|def\\)[0-9]" 0
-                  font-lock-keyword-face prepend)
-                '("@@" . font-lock-preprocessor-face))
+                  'font-lock-keyword-face prepend)
+                '("@@" . 'font-lock-preprocessor-face))
           cpp-font-lock-keywords
           makefile-font-lock-keywords))
=20
diff --git a/lisp/progmodes/meta-mode.el b/lisp/progmodes/meta-mode.el
index 80e586d225c..149ffc57445 100644
--- a/lisp/progmodes/meta-mode.el
+++ b/lisp/progmodes/meta-mode.el
@@ -135,61 +135,61 @@ meta-font-lock-keywords
          (cons (concat "\\(btex\\|verbatimtex\\)"
                        "[ \t\f]+\\(.*\\)[ \t\f]+"
                        "\\(etex\\)")
-               '((1 font-lock-keyword-face)
-                 (2 font-lock-string-face)
-                 (3 font-lock-keyword-face)))
+               '((1 'font-lock-keyword-face)
+                 (2 'font-lock-string-face)
+                 (3 'font-lock-keyword-face)))
          ;; unary macro definitions: def, vardef, let
          (cons (concat "\\<" macro-keywords-1 "\\>"
                        "[ \t\f]+\\(\\sw+\\|\\s_+\\|\\s.+\\)")
-               '((1 font-lock-keyword-face)
-                 (2 font-lock-function-name-face)))
+               '((1 'font-lock-keyword-face)
+                 (2 'font-lock-function-name-face)))
          ;; binary macro definitions: <leveldef> x operator y
          (cons (concat "\\<" macro-keywords-2 "\\>"
                        "[ \t\f]+\\(\\sw+\\)"
                        "[ \t\f]*\\(\\sw+\\|\\s.+\\)"
                        "[ \t\f]*\\(\\sw+\\)")
-               '((1 font-lock-keyword-face)
-                 (2 font-lock-variable-name-face nil t)
-                 (3 font-lock-function-name-face nil t)
-                 (4 font-lock-variable-name-face nil t)))
+               '((1 'font-lock-keyword-face)
+                 (2 'font-lock-variable-name-face nil t)
+                 (3 'font-lock-function-name-face nil t)
+                 (4 'font-lock-variable-name-face nil t)))
          ;; variable declarations: numeric, pair, color, ...
          (cons (concat "\\<" type-keywords "\\>"
                        "\\([ \t\f]+\\(\\sw+\\)\\)*")
-               '((1 font-lock-type-face)
+               '((1 'font-lock-type-face)
                  (meta-font-lock-match-declaration-item-and-skip-to-next
                   (goto-char (match-end 1)) nil
-                  (1 font-lock-variable-name-face nil t))))
+                  (1 'font-lock-variable-name-face nil t))))
          ;; argument declarations: expr, suffix, text, ...
          (cons (concat "\\<" args-keywords "\\>"
                        "\\([ \t\f]+\\(\\sw+\\|\\s_+\\)\\)*")
-               '((1 font-lock-type-face)
+               '((1 'font-lock-type-face)
                  (meta-font-lock-match-declaration-item-and-skip-to-next
                   (goto-char (match-end 1)) nil
-                  (1 font-lock-variable-name-face nil t))))
+                  (1 'font-lock-variable-name-face nil t))))
          ;; special case of arguments: expr x of y
          (cons (concat "\\(expr\\)[ \t\f]+\\(\\sw+\\)"
                        "[ \t\f]+\\(of\\)[ \t\f]+\\(\\sw+\\)")
-               '((1 font-lock-type-face)
-                 (2 font-lock-variable-name-face)
-                 (3 font-lock-keyword-face nil t)
-                 (4 font-lock-variable-name-face nil t)))
+               '((1 'font-lock-type-face)
+                 (2 'font-lock-variable-name-face)
+                 (3 'font-lock-keyword-face nil t)
+                 (4 'font-lock-variable-name-face nil t)))
          ;; syntactic keywords
          (cons (concat "\\<" syntactic-keywords "\\>")
-               'font-lock-keyword-face)
+               ''font-lock-keyword-face)
          ;; beginchar, beginfig
          (cons (concat "\\<" begin-keywords "\\>")
-               'font-lock-keyword-face)
+               ''font-lock-keyword-face)
          ;; endchar, endfig
          (cons (concat "\\<" end-keywords "\\>")
-               'font-lock-keyword-face)
+               ''font-lock-keyword-face)
          ;; input, generate
          (cons (concat "\\<" input-keywords "\\>"
                        "[ \t\f]+\\(\\sw+\\)")
-               '((1 font-lock-keyword-face)
-                 (2 font-lock-constant-face)))
+               '((1 'font-lock-keyword-face)
+                 (2 'font-lock-constant-face)))
          ;; embedded Metafont/MetaPost code in comments
          (cons "|\\([^|]+\\)|"
-               '(1 font-lock-constant-face t))
+               '(1 'font-lock-constant-face t))
      ))
   "Default expressions to highlight in Metafont or MetaPost mode.")
=20
diff --git a/lisp/progmodes/mixal-mode.el b/lisp/progmodes/mixal-mode.el
index 85f4ca2aff5..cf254e2abdc 100644
--- a/lisp/progmodes/mixal-mode.el
+++ b/lisp/progmodes/mixal-mode.el
@@ -1075,7 +1075,7 @@ mixal-font-lock-keywords
     (,(regexp-opt mixal-assembly-pseudoinstructions 'words)
      . mixal-font-lock-assembly-pseudoinstruction-face)
     ("^[A-Z0-9a-z]*[ \t]+[A-Z0-9a-z]+[ \t]+\\(=3D.*=3D\\)"
-     (1 font-lock-constant-face)))
+     (1 'font-lock-constant-face)))
   "Keyword highlighting specification for `mixal-mode'.")
 ;; (makunbound 'mixal-font-lock-keywords)
=20
diff --git a/lisp/progmodes/octave.el b/lisp/progmodes/octave.el
index 94a0b555499..dae22c4f58b 100644
--- a/lisp/progmodes/octave.el
+++ b/lisp/progmodes/octave.el
@@ -485,7 +485,7 @@ octave-font-lock-keywords
   (list
    ;; Fontify all builtin keywords.
    (cons (concat "\\_<" (regexp-opt octave-reserved-words) "\\_>")
-         'font-lock-keyword-face)
+         ''font-lock-keyword-face)
    ;; Note: 'end' also serves as the last index in an indexing expression,
    ;; and 'enumerate' is also a function.
    ;; Ref: https://www.mathworks.com/help/matlab/ref/end.html
@@ -502,11 +502,11 @@ octave-font-lock-keywords
                    (put-text-property beg end 'face nil)))))
            nil))
    ;; Fontify all operators.
-   (cons octave-operator-regexp 'font-lock-builtin-face)
+   (cons octave-operator-regexp ''font-lock-builtin-face)
    ;; Fontify all function declarations.
    (list octave-function-header-regexp
-         '(1 font-lock-keyword-face)
-         '(3 font-lock-function-name-face nil t)))
+         '(1 'font-lock-keyword-face)
+         '(3 'font-lock-function-name-face nil t)))
   "Additional Octave expressions to highlight.")
=20
 (defun octave-syntax-propertize-function (start end)
@@ -710,7 +710,7 @@ inferior-octave-mode-syntax-table
=20
 (defvar inferior-octave-font-lock-keywords
   (list
-   (cons inferior-octave-prompt 'font-lock-type-face))
+   (cons inferior-octave-prompt ''font-lock-type-face))
   ;; Could certainly do more font locking in inferior Octave ...
   "Additional expressions to highlight in Inferior Octave mode.")
=20
diff --git a/lisp/progmodes/opascal.el b/lisp/progmodes/opascal.el
index 24ebd744c76..68a29855ee7 100644
--- a/lisp/progmodes/opascal.el
+++ b/lisp/progmodes/opascal.el
@@ -1668,7 +1668,7 @@ opascal-match-token
=20
 (defconst opascal-font-lock-keywords
   `(("\\_<\\(function\\|pro\\(cedure\\|gram\\)\\)[ \t]+\\([[:alpha:]][[:al=
num:]_]*\\)"
-     (1 font-lock-keyword-face) (3 font-lock-function-name-face))
+     (1 'font-lock-keyword-face) (3 'font-lock-function-name-face))
     ,(concat "\\_<" (regexp-opt (mapcar #'symbol-name opascal-keywords))
               "\\_>")))
=20
diff --git a/lisp/progmodes/pascal.el b/lisp/progmodes/pascal.el
index 874588ce70f..a8c0608a3c6 100644
--- a/lisp/progmodes/pascal.el
+++ b/lisp/progmodes/pascal.el
@@ -161,15 +161,15 @@ pascal-mode-syntax-table
=20
 (defconst pascal-font-lock-keywords
   `(("\\_<\\(function\\|pro\\(cedure\\|gram\\)\\)[ \t]+\\([[:alpha:]][[:al=
num:]_]*\\)"
-     (1 font-lock-keyword-face)
-     (3 font-lock-function-name-face))
+     (1 'font-lock-keyword-face)
+     (3 'font-lock-function-name-face))
     ;; ("type" "const" "real" "integer" "char" "boolean" "var"
     ;;  "record" "array" "file")
     (,(concat "\\_<\\(array\\|boolean\\|c\\(har\\|onst\\)\\|file\\|"
               "integer\\|re\\(al\\|cord\\)\\|type\\|var\\)\\_>")
-     . font-lock-type-face)
-    ("\\_<\\(label\\|external\\|forward\\)\\_>" . font-lock-constant-face)
-    ("\\_<\\([0-9]+\\)[ \t]*:" 1 font-lock-function-name-face)
+     . 'font-lock-type-face)
+    ("\\_<\\(label\\|external\\|forward\\)\\_>" . 'font-lock-constant-face)
+    ("\\_<\\([0-9]+\\)[ \t]*:" 1 'font-lock-function-name-face)
     ;; ("of" "to" "for" "if" "then" "else" "case" "while"
     ;;  "do" "until" "and" "or" "not" "in" "with" "repeat" "begin" "end")
     ,(concat "\\_<\\("
@@ -177,7 +177,7 @@ pascal-font-lock-keywords
              "not\\|o[fr]\\|repeat\\|t\\(hen\\|o\\)\\|until\\|w\\(hile\\|i=
th\\)"
              "\\)\\_>")
     ("\\_<\\(goto\\)\\_>[ \t]*\\([0-9]+\\)?"
-     (1 font-lock-keyword-face) (2 font-lock-keyword-face t)))
+     (1 'font-lock-keyword-face) (2 'font-lock-keyword-face t)))
   "Additional expressions to highlight in Pascal mode.")
=20
 (defconst pascal--syntax-propertize
diff --git a/lisp/progmodes/ps-mode.el b/lisp/progmodes/ps-mode.el
index 4b25737cd09..03e2fe2fa45 100644
--- a/lisp/progmodes/ps-mode.el
+++ b/lisp/progmodes/ps-mode.el
@@ -125,14 +125,14 @@ ps-run-font-lock-keywords-2
 	    (list (list (if (=3D ?^ (string-to-char ps-run-prompt))
 			    ps-run-prompt
 			  (concat "^" ps-run-prompt))
-			'(0 font-lock-function-name-face nil nil))))
+			'(0 'font-lock-function-name-face nil nil))))
 	  '((">>showpage, press <return> to continue<<"
-	     (0 font-lock-keyword-face nil nil))
+	     (0 'font-lock-keyword-face nil nil))
 	    ("^\\(Error\\|Can't\\).*"
-	     (0 font-lock-warning-face nil nil))
+	     (0 'font-lock-warning-face nil nil))
 	    ("^\\(Current file position is\\) \\([0-9]+\\)"
-	     (1 font-lock-comment-face nil nil)
-	     (2 font-lock-warning-face nil nil))))
+	     (1 'font-lock-comment-face nil nil)
+	     (2 'font-lock-warning-face nil nil))))
   "Medium level highlighting of messages from the PostScript interpreter.
=20
 See documentation on font-lock for details."
@@ -207,10 +207,10 @@ ps-mode-operators
 ;;  - 8bit characters (warning face)
 ;; Multiline strings are not supported. Strings with nested brackets are.
 (defconst ps-mode-font-lock-keywords-1
-  '(("\\`%!PS.*" (0 font-lock-constant-face t))
+  '(("\\`%!PS.*" (0 'font-lock-constant-face t))
     ("^%%BoundingBox:[ \t]+-?[0-9]+[ \t]+-?[0-9]+[ \t]+-?[0-9]+[ \t]+-?[0-=
9]+[ \t]*$"
-     (0 font-lock-constant-face t))
-    ("[\200-\377]+" (0 font-lock-warning-face prepend nil)))
+     (0 'font-lock-constant-face t))
+    ("[\200-\377]+" (0 'font-lock-warning-face prepend nil)))
   "Subdued level highlighting for PostScript mode.")
=20
 ;; Level 2 font-lock:
@@ -223,7 +223,7 @@ ps-mode-font-lock-keywords-2
     (cons
      ;; exclude names prepended by `/'
      (concat "\\(^\\|[^/\n]\\)" ps-mode-operators)
-     '(2 font-lock-keyword-face))))
+     '(2 'font-lock-keyword-face))))
   "Medium level highlighting for PostScript mode.")
=20
 ;; Level 3 font-lock:
@@ -245,16 +245,16 @@ ps-mode-font-lock-keywords-2
 ;; a more simple (efficient) regexp than the one used in level 2.
 (defconst ps-mode-font-lock-keywords-3
   `(,@ps-mode-font-lock-keywords-1
-    ("//\\(?:\\sw\\|\\s_\\)+" . font-lock-type-face)
+    ("//\\(?:\\sw\\|\\s_\\)+" . 'font-lock-type-face)
     (,(concat
        "^\\(/\\(?:\\sw\\|\\s_\\)+\\)\\_>"
        "\\([[ \t]*\\(%.*\\)?\r?$"  ; Nothing but `[' or comment after the =
name.
        "\\|[ \t]*\\({\\|<<\\)"     ; `{' or `<<' following the name.
        "\\|[ \t]+[0-9]+[ \t]+dict\\_>"	; `[0-9]+ dict' following the name.
        "\\|.*\\_<def\\_>\\)")		; `def' somewhere on the same line.
-     . (1 font-lock-function-name-face))
-    ("/\\(?:\\sw\\|\\s_\\)+" . font-lock-variable-name-face)
-    (,ps-mode-operators . font-lock-keyword-face))
+     . (1 'font-lock-function-name-face))
+    ("/\\(?:\\sw\\|\\s_\\)+" . 'font-lock-variable-name-face)
+    (,ps-mode-operators . 'font-lock-keyword-face))
   "High level highlighting for PostScript mode.")
=20
 (defconst ps-mode-font-lock-keywords ps-mode-font-lock-keywords-1
@@ -267,7 +267,7 @@ ps-run-font-lock-keywords-1
     (list (cons (if (=3D ?^ (string-to-char ps-run-prompt))
 		    ps-run-prompt
 		  (concat "^" ps-run-prompt))
-		'font-lock-function-name-face)))
+		''font-lock-function-name-face)))
   "Subdued level highlighting for PostScript run mode.")
=20
 (defconst ps-run-font-lock-keywords ps-run-font-lock-keywords-1
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index b196fe44699..dd1a0f8852a 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -847,7 +847,7 @@ python-font-lock-keywords-maximum-decoration
            ;; module and they are not intended to be used in programs
            "copyright" "credits" "exit" "license" "quit")
           symbol-end)
-     . font-lock-constant-face)
+     . 'font-lock-constant-face)
     ;; Decorators.
     (,(rx line-start (* (any " \t")) (group "@" (1+ (or word ?_))
                                             (0+ "." (1+ (or word ?_)))))
diff --git a/lisp/progmodes/ruby-mode.el b/lisp/progmodes/ruby-mode.el
index ff33f0554ba..64c47856fa2 100644
--- a/lisp/progmodes/ruby-mode.el
+++ b/lisp/progmodes/ruby-mode.el
@@ -2373,7 +2373,7 @@ ruby-font-lock-keyword-beg-re
 (defconst ruby-font-lock-keywords
   `(;; Functions.
     ("^\\s *def\\s +\\(?:[^( \t\n.]*\\.\\)?\\([^( \t\n]+\\)"
-     1 font-lock-function-name-face)
+     1 'font-lock-function-name-face)
     ;; Keywords.
     (,(concat
        ruby-font-lock-keyword-beg-re
@@ -2413,18 +2413,18 @@ ruby-font-lock-keywords
           "while"
           "yield")
         'symbols))
-     (1 font-lock-keyword-face))
+     (1 'font-lock-keyword-face))
     ;; Core methods that have required arguments.
     (,(concat
        ruby-font-lock-keyword-beg-re
        (regexp-opt ruby-builtin-methods-with-reqs 'symbols))
      (1 (unless (looking-at " *\\(?:[]|,.)}=3D]\\|$\\)")
-          font-lock-builtin-face)))
+          'font-lock-builtin-face)))
     ;; Kernel methods that have no required arguments.
     (,(concat
        ruby-font-lock-keyword-beg-re
        (regexp-opt ruby-builtin-methods-no-reqs 'symbols))
-     (1 font-lock-builtin-face))
+     (1 'font-lock-builtin-face))
     ;; Here-doc beginnings.
     (,ruby-here-doc-beg-re
      (0 (when (ruby-verify-heredoc (match-beginning 0))
@@ -2434,13 +2434,13 @@ ruby-font-lock-keywords
     ;; Singleton objects.
     (,(concat ruby-font-lock-keyword-beg-re
               "\\_<\\(nil\\|true\\|false\\)\\_>")
-     1 font-lock-constant-face)
+     1 'font-lock-constant-face)
     ;; Keywords that evaluate to certain values.
     ("\\_<__\\(?:LINE\\|ENCODING\\|FILE\\)__\\_>"
-     (0 font-lock-builtin-face))
+     (0 'font-lock-builtin-face))
     ;; Symbols.
     ("\\(^\\|[^:]\\)\\(:@\\{0,2\\}\\(?:\\sw\\|\\s_\\)+\\)"
-     (2 font-lock-constant-face))
+     (2 'font-lock-constant-face))
     ;; Special globals.
     (,(concat "\\$\\(?:[:\"!@;,/._><\\$?~=3D*&`'+0-9]\\|-[0adFiIlpvw]\\|"
               (regexp-opt '("LOAD_PATH" "LOADED_FEATURES" "PROGRAM_NAME"
@@ -2458,30 +2458,30 @@ ruby-font-lock-keywords
                             "DEBUG" "FILENAME" "VERBOSE" "SAFE" "CLASSPATH"
                             "JRUBY_VERSION" "JRUBY_REVISION" "ENV_JAVA"))
               "\\_>\\)")
-     0 font-lock-builtin-face)
+     0 'font-lock-builtin-face)
     ("\\(\\$\\|@\\|@@\\)\\(\\w\\|_\\)+"
-     0 font-lock-variable-name-face)
+     0 'font-lock-variable-name-face)
     ;; Constants.
     ("\\_<\\([A-Z]+\\(\\w\\|_\\)*\\)"
-     1 (unless (eq ?\( (char-after)) font-lock-type-face))
+     1 (unless (eq ?\( (char-after)) 'font-lock-type-face))
     ;; Ruby 1.9-style symbol hash keys.
     ("\\(?:^\\s *\\|[[{(,]\\s *\\|\\sw\\s +\\)\\(\\(\\sw\\|_\\)+:\\)[^:]"
-     (1 (progn (forward-char -1) font-lock-constant-face)))
+     (1 (progn (forward-char -1) 'font-lock-constant-face)))
     ;; Conversion methods on Kernel.
     (,(concat ruby-font-lock-keyword-beg-re
               (regexp-opt '("Array" "Complex" "Float" "Hash"
                             "Integer" "Rational" "String")
                           'symbols))
-     (1 font-lock-builtin-face))
+     (1 'font-lock-builtin-face))
     ;; Expression expansion.
     (ruby-match-expression-expansion
-     0 font-lock-variable-name-face t)
+     0 'font-lock-variable-name-face t)
     ;; Negation char.
     ("\\(?:^\\|[^[:alnum:]_]\\)\\(!+\\)[^=3D~]"
-     1 font-lock-negation-char-face)
+     1 'font-lock-negation-char-face)
     ;; Character literals.
     ;; FIXME: Support longer escape sequences.
-    ("\\?\\\\?\\_<.\\_>" 0 font-lock-string-face)
+    ("\\?\\\\?\\_<.\\_>" 0 'font-lock-string-face)
     ;; Regexp options.
     ("\\(?:\\s|\\|/\\)\\([imxo]+\\)"
      1 (when (save-excursion
@@ -2491,7 +2491,7 @@ ruby-font-lock-keywords
                           (progn
                             (goto-char (nth 8 state))
                             (looking-at "%r"))))))
-         font-lock-preprocessor-face))
+         'font-lock-preprocessor-face))
     )
   "Additional expressions to highlight in Ruby mode.")
=20
diff --git a/lisp/progmodes/scheme.el b/lisp/progmodes/scheme.el
index 1756f11fb2c..4f0b0e64af9 100644
--- a/lisp/progmodes/scheme.el
+++ b/lisp/progmodes/scheme.el
@@ -327,10 +327,10 @@ scheme-font-lock-keywords-1
                    ;;  (define ((sum a) b) (+ a b))
                    "[ \t]*(*"
                    "\\(\\sw+\\)?")
-           '(1 font-lock-keyword-face)
-           '(6 (cond ((match-beginning 3) font-lock-function-name-face)
-                     ((match-beginning 5) font-lock-variable-name-face)
-                     (t font-lock-type-face))
+           '(1 'font-lock-keyword-face)
+           '(6 (cond ((match-beginning 3) 'font-lock-function-name-face)
+                     ((match-beginning 5) 'font-lock-variable-name-face)
+                     (t 'font-lock-type-face))
                nil t))
      ))
   "Subdued expressions to highlight in Scheme modes.")
@@ -372,17 +372,17 @@ scheme-font-lock-keywords-2
       ;;
       ;; It wouldn't be Scheme without named-let.
       '("(let\\s-+\\(\\sw+\\)"
-        (1 font-lock-function-name-face))
+        (1 'font-lock-function-name-face))
       ;;
       ;; David Fox <fox@HIDDEN> for SOS/STklos class specifie=
rs.
-      '("\\<<\\sw+>\\>" . font-lock-type-face)
+      '("\\<<\\sw+>\\>" . 'font-lock-type-face)
       ;;
       ;; Scheme `:' and `#:' keywords as builtins.
-      '("\\<#?:\\sw+\\>" . font-lock-builtin-face)
+      '("\\<#?:\\sw+\\>" . 'font-lock-builtin-face)
       ;; R6RS library declarations.
       '("(\\(\\<library\\>\\)\\s-*(?\\(\\sw+\\)?"
-        (1 font-lock-keyword-face)
-        (2 font-lock-type-face))
+        (1 'font-lock-keyword-face)
+        (2 'font-lock-type-face))
       )))
   "Gaudy expressions to highlight in Scheme modes.")
=20
@@ -532,8 +532,8 @@ dsssl-font-lock-keywords
     (list
      ;; Similar to Scheme
      (list "(\\(define\\(-\\w+\\)?\\)\\>[ \t]*\\((?\\)\\(\\sw+\\)\\>"
-           '(1 font-lock-keyword-face)
-           '(4 font-lock-function-name-face))
+           '(1 'font-lock-keyword-face)
+           '(4 'font-lock-function-name-face))
      (cons
       (concat "(" (regexp-opt
                    '("case" "cond" "else" "if" "lambda"
@@ -542,15 +542,15 @@ dsssl-font-lock-keywords
       1)
      ;; DSSSL syntax
      '("(\\(element\\|mode\\|declare-\\w+\\)\\>[ \t]*\\(\\sw+\\)"
-       (1 font-lock-keyword-face)
-       (2 font-lock-type-face))
+       (1 'font-lock-keyword-face)
+       (2 'font-lock-type-face))
      '("(\\(element\\)\\>[ \t]*(\\(\\S)+\\))"
-       (1 font-lock-keyword-face)
-       (2 font-lock-type-face))
-     '("\\<\\sw+:\\>" . font-lock-constant-face) ; trailing `:' cf. scheme
+       (1 'font-lock-keyword-face)
+       (2 'font-lock-type-face))
+     '("\\<\\sw+:\\>" . 'font-lock-constant-face) ; trailing `:' cf. scheme
      ;; SGML markup (from sgml-mode) :
-     '("<\\([!?][-a-z0-9]+\\)" 1 font-lock-keyword-face)
-     '("<\\(/?[-a-z0-9]+\\)" 1 font-lock-function-name-face)))
+     '("<\\([!?][-a-z0-9]+\\)" 1 'font-lock-keyword-face)
+     '("<\\(/?[-a-z0-9]+\\)" 1 'font-lock-function-name-face)))
   "Default expressions to highlight in DSSSL mode.")
=20
 
diff --git a/lisp/progmodes/sh-script.el b/lisp/progmodes/sh-script.el
index f5f2d4b405d..32a7a551451 100644
--- a/lisp/progmodes/sh-script.el
+++ b/lisp/progmodes/sh-script.el
@@ -844,40 +844,40 @@ sh-escaped-newline
 (defvar sh-font-lock-keywords-var
   '((csh sh-append shell
 	 ("\\${?[#?]?\\([[:alpha:]_][[:alnum:]_]*\\|0\\)" 1
-          font-lock-variable-name-face))
+          'font-lock-variable-name-face))
=20
     (es sh-append executable-font-lock-keywords
 	("\\$#?\\([[:alpha:]_][[:alnum:]_]*\\|[0-9]+\\)" 1
-         font-lock-variable-name-face))
+         'font-lock-variable-name-face))
=20
     (rc sh-append es)
     (bash sh-append sh ("\\$(\\([^)\n]+\\)" (1 'sh-quoted-exec t) ))
     (sh sh-append shell
 	;; Variable names.
 	("\\$\\({#?\\)?\\([[:alpha:]_][[:alnum:]_]*\\|[-#?@!]\\)" 2
-	  font-lock-variable-name-face)
+	  'font-lock-variable-name-face)
 	;; Function names.
-	("^\\(\\sw+\\)[ \t]*(" 1 font-lock-function-name-face)
+	("^\\(\\sw+\\)[ \t]*(" 1 'font-lock-function-name-face)
 	("\\<\\(function\\)\\>[ \t]*\\(\\sw+\\)?"
-	  (1 font-lock-keyword-face) (2 font-lock-function-name-face nil t))
+	  (1 'font-lock-keyword-face) (2 'font-lock-function-name-face nil t))
 	("\\(?:^\\s *\\|[[();&|]\\s *\\|\\(?:\\s +-[ao]\\|if\\|else\\|then\\|whil=
e\\|do\\)\\s +\\)\\(!\\)"
-	 1 font-lock-negation-char-face))
+	 1 'font-lock-negation-char-face))
=20
     ;; The next entry is only used for defining the others
     (shell
            ;; Using font-lock-string-face here confuses sh-get-indent-info.
            ("\\(^\\|[^\\]\\)\\(\\\\\\\\\\)*\\(\\\\\\)$" 3 'sh-escaped-newl=
ine)
-	   ("\\\\[^[:alnum:]]" 0 font-lock-string-face)
+	   ("\\\\[^[:alnum:]]" 0 'font-lock-string-face)
 	   ("\\${?\\([[:alpha:]_][[:alnum:]_]*\\|[0-9]+\\|[$*_]\\)" 1
-	     font-lock-variable-name-face))
+	     'font-lock-variable-name-face))
     (rpm sh-append rpm2
-	 ("^\\s-*%\\(\\sw+\\)" 1 font-lock-keyword-face)
+	 ("^\\s-*%\\(\\sw+\\)" 1 'font-lock-keyword-face)
 	 ("%{?\\([!?]*[[:alpha:]_][[:alnum:]_]*\\|[0-9]+\\|[%*#]\\*?\\|!?-[[:alph=
a:]]\\*?\\)"
-	  1 font-lock-variable-name-face))
+	  1 'font-lock-variable-name-face))
     (rpm2 sh-append shell
-	  ("^Summary:\\(.*\\)$" (1 font-lock-doc-face t))
-	  ("^\\(\\sw+\\)\\((\\(\\sw+\\))\\)?:" (1 font-lock-variable-name-face)
-	   (3 font-lock-string-face nil t))))
+	  ("^Summary:\\(.*\\)$" (1 'font-lock-doc-face t))
+	  ("^\\(\\sw+\\)\\((\\(\\sw+\\))\\)?:" (1 'font-lock-variable-name-face)
+	   (3 'font-lock-string-face nil t))))
   "Default expressions to highlight in Shell Script modes.  See `sh-featur=
e'.")
=20
 (defvar sh-font-lock-keywords-var-1
@@ -1688,7 +1688,7 @@ sh-font-lock-keywords
 	      (when (stringp (sh-feature sh-assignment-regexp))
 		(lambda (list)
 		  `((,(sh-feature sh-assignment-regexp)
-		     1 font-lock-variable-name-face)
+		     1 'font-lock-variable-name-face)
 		    ,@keywords
 		    ,@list
 		    ,@executable-font-lock-keywords)))))
@@ -1706,11 +1706,11 @@ sh-font-lock-keywords-1
 	     `((,(concat keywords "[ \t]+\\)?"
 			 (regexp-opt (sh-feature sh-builtins) t)
 			 "\\>")
-		(2 font-lock-keyword-face nil t)
-		(6 font-lock-builtin-face))
+		(2 'font-lock-keyword-face nil t)
+		(6 'font-lock-builtin-face))
 	       ,@(sh-feature sh-font-lock-keywords-var-2)))
 	 (,(concat keywords "\\)\\>")
-	  2 font-lock-keyword-face)
+	  2 'font-lock-keyword-face)
 	 ,@(sh-feature sh-font-lock-keywords-var-1)))))
=20
 (defun sh-font-lock-keywords-2 ()
diff --git a/lisp/progmodes/simula.el b/lisp/progmodes/simula.el
index a8fd2d4da92..11f16fa06cd 100644
--- a/lisp/progmodes/simula.el
+++ b/lisp/progmodes/simula.el
@@ -185,11 +185,11 @@ simula-syntax-propertize-function
 (defconst simula-font-lock-keywords-1
   '(;;
     ;; Compiler directives.
-    ("^%\\([^ \t\n].*\\)" 1 font-lock-constant-face t)
+    ("^%\\([^ \t\n].*\\)" 1 'font-lock-constant-face t)
     ;;
     ;; Class and procedure names.
     ("\\<\\(class\\|procedure\\)\\>[ \t]*\\(\\sw+\\)?"
-     (1 font-lock-keyword-face) (2 font-lock-function-name-face nil t)))
+     (1 'font-lock-keyword-face) (2 'font-lock-function-name-face nil t)))
   "Subdued level highlighting for Simula mode.")
=20
 (defconst simula-font-lock-keywords-2
@@ -197,7 +197,7 @@ simula-font-lock-keywords-2
    (list
     ;;
     ;; Constants.
-    '("\\<\\(false\\|none\\|notext\\|true\\)\\>" . font-lock-constant-face)
+    '("\\<\\(false\\|none\\|notext\\|true\\)\\>" . 'font-lock-constant-fac=
e)
     ;;
     ;; Keywords.
     (regexp-opt
@@ -212,7 +212,7 @@ simula-font-lock-keywords-2
     (cons (regexp-opt
 	   '("array" "boolean" "character" "integer"
 	     "long" "name" "real" "short" "text" "value" "ref") 'words)
-	  'font-lock-type-face)))
+	  ''font-lock-type-face)))
   "Medium level highlighting for Simula mode.")
=20
 (defconst simula-font-lock-keywords-3
@@ -220,7 +220,7 @@ simula-font-lock-keywords-3
    (list
     ;;
     ;; Super-class names and super-slow.
-    '("\\<\\(\\sw+\\)[ \t]+class\\>" 1 font-lock-function-name-face)
+    '("\\<\\(\\sw+\\)[ \t]+class\\>" 1 'font-lock-function-name-face)
     ;;
     ;; Types and their declarations.
     (list (concat "\\<\\(array\\|boolean\\|character\\|integer\\|"
@@ -232,13 +232,13 @@ simula-font-lock-keywords-3
 	    ;; Finish with point after first type specifier.
 	    (goto-char (match-end 1))
 	    ;; Fontify as a variable name.
-	    (1 font-lock-variable-name-face)))
+	    (1 'font-lock-variable-name-face)))
     ;;
     ;; Object references and their declarations.
     '("\\<\\(ref\\)\\>[ \t]*\\((\\(\\sw+\\))\\)?"
-      (3 font-lock-function-name-face nil t)
+      (3 'font-lock-function-name-face nil t)
       (font-lock-match-c-style-declaration-item-and-skip-to-next nil nil
-       (1 font-lock-variable-name-face)))
+       (1 'font-lock-variable-name-face)))
     ))
   "Gaudy level highlighting for Simula mode.")
=20
diff --git a/lisp/progmodes/tcl.el b/lisp/progmodes/tcl.el
index 6bf09a40a6f..b3a3fb6143a 100644
--- a/lisp/progmodes/tcl.el
+++ b/lisp/progmodes/tcl.el
@@ -528,30 +528,30 @@ tcl-set-font-lock-keywords
 	(list
 	 ;; Names of functions (and other "defining things").
 	 (list (concat tcl-proc-regexp "\\([^ \t\n]+\\)")
-	       2 'font-lock-function-name-face)
+	       2 ''font-lock-function-name-face)
=20
 	 ;; Names of type-defining things.
 	 (list (concat "\\(\\s-\\|^\\)"
 		       (regexp-opt tcl-typeword-list t)
 		       "\\(\\s-\\|$\\)")
-	       2 'font-lock-type-face)
+	       2 ''font-lock-type-face)
=20
          (list (concat "\\_<" (regexp-opt tcl-builtin-list t) "\\_>")
-	       1 'font-lock-builtin-face)
+	       1 ''font-lock-builtin-face)
=20
          ;; When variable names are enclosed in {} braces, any
          ;; character can be used. Otherwise just letters, digits,
          ;; underscores.  Variable names can be prefixed with any
          ;; number of "namespace::" qualifiers.  A leading "::" refers
          ;; to the global namespace.
-         '("\\${\\([^}]+\\)}" 1 font-lock-variable-name-face)
+         '("\\${\\([^}]+\\)}" 1 'font-lock-variable-name-face)
          '("\\$\\(\\(?:::\\)?\\(?:[[:alnum:]_]+::\\)*[[:alnum:]_]+\\)"
-           1 font-lock-variable-name-face)
+           1 'font-lock-variable-name-face)
          '("\\(?:\\s-\\|^\\|\\[\\)set\\s-+{\\([^}]+\\)}"
-           1 font-lock-variable-name-face keep)
+           1 'font-lock-variable-name-face keep)
          '("\\(?:\\s-\\|^\\|\\[\\)set\\s-+\\(\\(?:::\\)?\
 \\(?:[[:alnum:]_]+::\\)*[[:alnum:]_]+\\)"
-           1 font-lock-variable-name-face keep)
+           1 'font-lock-variable-name-face keep)
=20
          '("\\(^\\|[^\\]\\)\\(\\\\\\\\\\)*\\(\\\\\\)$" 3 'tcl-escaped-newl=
ine)
=20
diff --git a/lisp/progmodes/vera-mode.el b/lisp/progmodes/vera-mode.el
index 7b039291ab5..57ac0d06c2e 100644
--- a/lisp/progmodes/vera-mode.el
+++ b/lisp/progmodes/vera-mode.el
@@ -557,46 +557,46 @@ vera-font-lock-match-item
 (defvar vera-font-lock-keywords
   (list
    ;; highlight keywords
-   (list vera-keywords-regexp 1 'font-lock-keyword-face)
+   (list vera-keywords-regexp 1 ''font-lock-keyword-face)
    ;; highlight types
-   (list vera-types-regexp 1 'font-lock-type-face)
+   (list vera-types-regexp 1 ''font-lock-type-face)
    ;; highlight RVM types
-   (list vera-rvm-types-regexp 1 'font-lock-type-face)
+   (list vera-rvm-types-regexp 1 ''font-lock-type-face)
    ;; highlight constants
-   (list vera-constants-regexp 1 'font-lock-constant-face)
+   (list vera-constants-regexp 1 ''font-lock-constant-face)
    ;; highlight RVM constants
-   (list vera-rvm-constants-regexp 1 'font-lock-constant-face)
+   (list vera-rvm-constants-regexp 1 ''font-lock-constant-face)
    ;; highlight q_values
-   (list vera-q-values-regexp 1 'font-lock-constant-face)
+   (list vera-q-values-regexp 1 ''font-lock-constant-face)
    ;; highlight predefined functions, tasks and methods
    (list vera-functions-regexp 1 'vera-font-lock-function)
    ;; highlight predefined RVM functions
    (list vera-rvm-functions-regexp 1 'vera-font-lock-function)
    ;; highlight functions
-   '("\\<\\(\\w+\\)\\s-*(" 1 font-lock-function-name-face)
+   '("\\<\\(\\w+\\)\\s-*(" 1 'font-lock-function-name-face)
    ;; highlight various declaration names
    '("^\\s-*\\(port\\|program\\|task\\)\\s-+\\(\\w+\\)\\>"
-     2 font-lock-function-name-face)
+     2 'font-lock-function-name-face)
    '("^\\s-*bind\\s-+\\(\\w+\\)\\s-+\\(\\w+\\)\\>"
-     (1 font-lock-function-name-face) (2 font-lock-function-name-face))
+     (1 'font-lock-function-name-face) (2 'font-lock-function-name-face))
    ;; highlight interface declaration names
    '("^\\s-*\\(class\\|interface\\)\\s-+\\(\\w+\\)\\>"
      2 vera-font-lock-interface)
    ;; highlight variable name definitions
    (list (concat "^\\s-*" vera-types-regexp "\\s-*\\(\\[[^]]+\\]\\s-+\\)?")
-	 '(vera-font-lock-match-item nil nil (1 font-lock-variable-name-face)))
+	 '(vera-font-lock-match-item nil nil (1 'font-lock-variable-name-face)))
    (list (concat "^\\s-*" vera-rvm-types-regexp "\\s-*\\(\\[[^]]+\\]\\s-+\=
\)?")
-	 '(vera-font-lock-match-item nil nil (1 font-lock-variable-name-face)))
+	 '(vera-font-lock-match-item nil nil (1 'font-lock-variable-name-face)))
    ;; highlight numbers
    '("\\([0-9]*'[bdoh][[:xdigit:]xXzZ_]+\\)" 1 vera-font-lock-number)
    ;; highlight filenames in #include directives
    '("^#\\s-*include\\s-*\\(<[^>\"\n]*>?\\)"
-     1 font-lock-string-face)
+     1 'font-lock-string-face)
    ;; highlight directives and directive names
    '("^#\\s-*\\(\\w+\\)\\>[ \t!]*\\(\\w+\\)?"
-     (1 font-lock-builtin-face) (2 font-lock-variable-name-face nil t))
+     (1 'font-lock-builtin-face) (2 'font-lock-variable-name-face nil t))
    ;; highlight `@', `$' and `#'
-   '("\\([@$#]\\)" 1 font-lock-keyword-face)
+   '("\\([@$#]\\)" 1 'font-lock-keyword-face)
    ;; highlight @ and # definitions
    '("@\\s-*\\(\\w*\\)\\(\\s-*,\\s-*\\(\\w+\\)\\)?\\>[^.]"
      (1 vera-font-lock-number) (3 vera-font-lock-number nil t))
diff --git a/lisp/progmodes/verilog-mode.el b/lisp/progmodes/verilog-mode.el
index addf9c64f76..40b9ea4073d 100644
--- a/lisp/progmodes/verilog-mode.el
+++ b/lisp/progmodes/verilog-mode.el
@@ -3425,9 +3425,9 @@ verilog-font-lock-grouping-keywords-face
          (cons (concat "\\<\\(" verilog-font-grouping-keywords "\\)\\>")
                (if verilog-highlight-grouping-keywords
                    'verilog-font-lock-grouping-keywords-face
-		 'font-lock-type-face))
+		 ''font-lock-type-face))
 	 (cons (concat "\\<\\(" verilog-type-font-keywords "\\)\\>")
-               'font-lock-type-face)
+               ''font-lock-type-face)
 	 ;; Fontify Verilog-AMS keywords
 	 (cons (concat "\\<\\(" verilog-ams-keywords "\\)\\>")
 	       'verilog-font-lock-ams-face)))
@@ -3438,16 +3438,16 @@ verilog-font-lock-grouping-keywords-face
 		 ;; Fontify module definitions
 		 (list
                  "\\<\\(\\(macro\\|connect\\)?module\\|primitive\\|class\\=
|program\\|interface\\|package\\|task\\)\\>\\s-*\\(\\sw+\\)"
-		  '(1 font-lock-keyword-face)
-		  '(3 font-lock-function-name-face))
+		  '(1 'font-lock-keyword-face)
+		  '(3 'font-lock-function-name-face))
 		 ;; Fontify function definitions
 		 (list
 		  (concat "\\<function\\>\\s-+\\(integer\\|real\\(time\\)?\\|time\\)\\s-=
+\\(\\sw+\\)" )
-                  '(1 font-lock-keyword-face)
-                  '(3 font-lock-constant-face))
+                  '(1 'font-lock-keyword-face)
+                  '(3 'font-lock-constant-face))
 		 '("\\<function\\>\\s-+\\(\\[[^]]+\\]\\)\\s-+\\(\\sw+\\)"
-		   (1 font-lock-keyword-face)
-		   (2 font-lock-constant-face append))
+		   (1 'font-lock-keyword-face)
+		   (2 'font-lock-constant-face append))
 		 '("\\<function\\>\\s-+\\(\\sw+\\)"
 		   1 'font-lock-constant-face append)
                  ;; Fontify variable names in declarations
@@ -3464,7 +3464,7 @@ verilog-font-lock-grouping-keywords-face
                         (verilog-single-declaration-end verilog-highlight-=
max-lookahead)
                       (point)) ;; =3D> current declaration statement is of=
 0 length
                    nil ;; Post-form: nothing to be done
-                   '(0 font-lock-variable-name-face))))))
+                   '(0 'font-lock-variable-name-face))))))
=20
=20
   (setq verilog-font-lock-keywords-2
@@ -3473,19 +3473,17 @@ verilog-font-lock-grouping-keywords-face
 		 ;; Fontify pragmas
 		 (concat "\\(//\\s-*\\(" verilog-pragma-keywords "\\)\\s-.*\\)")
 		 ;; Fontify escaped names
-		 '("\\(\\\\\\S-*\\s-\\)"  0 font-lock-function-name-face)
+		 '("\\(\\\\\\S-*\\s-\\)"  0 'font-lock-function-name-face)
 		 ;; Fontify macro definitions/ uses
-		 '("`\\s-*[A-Za-z][A-Za-z0-9_]*" 0 (if (boundp 'font-lock-preprocessor-f=
ace)
-                                                      'font-lock-preproces=
sor-face
-                                                    'font-lock-type-face))
+		 '("`\\s-*[A-Za-z][A-Za-z0-9_]*" 0 'font-lock-preprocessor-face)
 		 ;; Fontify delays/numbers
 		 '("\\(@\\)\\|\\([ \t\n\f\r]#\\s-*\\(\\([0-9_.]+\\('s?[hdxbo][0-9a-fA-F_=
xz]*\\)?\\)\\|\\(([^()]+)\\|\\sw+\\)\\)\\)"
-		   0 font-lock-type-face append)
+		   0 'font-lock-type-face append)
      ;; Fontify property/sequence cycle delays - these start with '##'
      '("\\(##\\(\\sw+\\|\\[[^]]+\\]\\)\\)"
-       0 font-lock-type-face append)
+       0 'font-lock-type-face append)
 		 ;; Fontify instantiation names
-		 '("\\([A-Za-z][A-Za-z0-9_]*\\)\\s-*(" 1 font-lock-function-name-face)
+		 '("\\([A-Za-z][A-Za-z0-9_]*\\)\\s-*(" 1 'font-lock-function-name-face)
 		 )))
=20
   (setq verilog-font-lock-keywords-3
diff --git a/lisp/progmodes/vhdl-mode.el b/lisp/progmodes/vhdl-mode.el
index 65bad2435b9..3de7b7eab5a 100644
--- a/lisp/progmodes/vhdl-mode.el
+++ b/lisp/progmodes/vhdl-mode.el
@@ -13377,12 +13377,12 @@ vhdl-font-lock-keywords-2
      "\\(\\s-+body\\)?\\|"
      "\\(\\(impure\\|pure\\)\\s-+\\)?function\\|procedure\\|component"
      "\\)\\s-+\\(\\w+\\)")
-    5 'font-lock-function-name-face)
+    5 ''font-lock-function-name-face)
=20
    ;; highlight entity names of architectures and configurations
    (list
     "^\\s-*\\(architecture\\|configuration\\)\\s-+\\w+\\s-+of\\s-+\\(\\w+\=
\)"
-    2 'font-lock-function-name-face)
+    2 ''font-lock-function-name-face)
=20
    ;; highlight labels of common constructs
    (list
@@ -13393,14 +13393,14 @@ vhdl-font-lock-keywords-2
      (when (vhdl-standard-p 'ams) "procedural\\|")
      "with\\|while"
      "\\)\\>\\|\\w+\\s-*\\(([^\n]*)\\|\\.\\w+\\)*\\s-*<=3D\\)")
-    1 'font-lock-function-name-face)
+    1 ''font-lock-function-name-face)
=20
    ;; highlight label and component name of component instantiations
    (list
     (concat
      "^\\s-*\\(\\w+\\)\\s-*:[ \t\n\r\f]*\\(\\w+\\)[ \t\n\r\f]*"
      "\\(--[^\n]*[ \t\n\r\f]+\\)*\\(generic\\|port\\)\\s-+map\\>")
-    '(1 font-lock-function-name-face) '(2 font-lock-function-name-face))
+    '(1 'font-lock-function-name-face) '(2 'font-lock-function-name-face))
=20
    ;; highlight label and instantiated unit of component instantiations
    (list
@@ -13408,9 +13408,9 @@ vhdl-font-lock-keywords-2
      "^\\s-*\\(\\w+\\)\\s-*:[ \t\n\r\f]*"
      "\\(component\\|configuration\\|entity\\)\\s-+"
      "\\(\\w+\\)\\(\\.\\(\\w+\\)\\)?\\(\\s-*(\\(\\w+\\))\\)?")
-    '(1 font-lock-function-name-face) '(3 font-lock-function-name-face)
-    '(5 font-lock-function-name-face nil t)
-    '(7 font-lock-function-name-face nil t))
+    '(1 'font-lock-function-name-face) '(3 'font-lock-function-name-face)
+    '(5 'font-lock-function-name-face nil t)
+    '(7 'font-lock-function-name-face nil t))
=20
    ;; highlight names and labels at end of constructs
    (list
@@ -13422,38 +13422,38 @@ vhdl-font-lock-keywords-2
      (when (vhdl-standard-p 'ams) "procedural\\|")
      "units"
      "\\)\\s-+\\)?\\(\\w*\\)")
-    5 'font-lock-function-name-face)
+    5 ''font-lock-function-name-face)
=20
    ;; highlight labels in exit and next statements
    (list
     (concat
      "^\\s-*\\(\\w+\\s-*:\\s-*\\)?\\(exit\\|next\\)\\s-+\\(\\w*\\)")
-    3 'font-lock-function-name-face)
+    3 ''font-lock-function-name-face)
=20
    ;; highlight entity name in attribute specifications
    (list
     (concat
      "^\\s-*attribute\\s-+\\w+\\s-+of\\s-+\\(\\w+\\(,\\s-*\\w+\\)*\\)\\s-*=
:")
-    1 'font-lock-function-name-face)
+    1 ''font-lock-function-name-face)
=20
    ;; highlight labels in block and component specifications
    (list
     (concat
      "^\\s-*for\\s-+\\(\\w+\\(,\\s-*\\w+\\)*\\)\\>\\s-*"
      "\\(:[ \t\n\r\f]*\\(\\w+\\)\\|[^i \t]\\)")
-    '(1 font-lock-function-name-face) '(4 font-lock-function-name-face nil=
 t))
+    '(1 'font-lock-function-name-face) '(4 'font-lock-function-name-face n=
il t))
=20
    ;; highlight names in library clauses
    (list "^\\s-*library\\>"
-	 '(vhdl-font-lock-match-item nil nil (1 font-lock-function-name-face)))
+	 '(vhdl-font-lock-match-item nil nil (1 'font-lock-function-name-face)))
=20
    ;; highlight names in use clauses
    (list
     (concat
      "\\<\\(context\\|use\\)\\s-+\\(\\(entity\\|configuration\\)\\s-+\\)?"
      "\\(\\w+\\)\\(\\.\\(\\w+\\)\\)?\\((\\(\\w+\\))\\)?")
-    '(4 font-lock-function-name-face) '(6 font-lock-function-name-face nil=
 t)
-    '(8 font-lock-function-name-face nil t))
+    '(4 'font-lock-function-name-face) '(6 'font-lock-function-name-face n=
il t)
+    '(8 'font-lock-function-name-face nil t))
=20
    ;; highlight attribute name in attribute declarations/specifications
    (list
@@ -13465,7 +13465,7 @@ vhdl-font-lock-keywords-2
    (list
     (concat
      "^\\s-*\\(\\(sub\\)?\\(nature\\|type\\)\\|end\\s-+\\(record\\|protect=
ed\\)\\)\\s-+\\(\\w+\\)")
-    5 'font-lock-type-face)
+    5 ''font-lock-type-face)
=20
    ;; highlight signal/variable/constant declaration names
    (list "\\(:[^=3D]\\)"
@@ -13479,7 +13479,7 @@ vhdl-font-lock-keywords-2
 		    (skip-syntax-backward " ")
 		    (skip-syntax-backward "w_")
 		    (skip-syntax-backward " ")))
-	   (goto-char (match-end 1)) (1 font-lock-variable-name-face)))
+	   (goto-char (match-end 1)) (1 'font-lock-variable-name-face)))
=20
    ;; highlight formal parameters in component instantiations and subprogr=
am
    ;; calls
@@ -13492,20 +13492,20 @@ vhdl-font-lock-keywords-2
 		  (skip-syntax-backward " ")
 		  (when (memq (preceding-char) '(?n ?N ?|))
 		    (goto-char (point-max))))
-	   (goto-char (match-end 1)) (1 font-lock-variable-name-face)))
+	   (goto-char (match-end 1)) (1 'font-lock-variable-name-face)))
=20
    ;; highlight alias/group/quantity declaration names and for-loop/-gener=
ate
    ;; variables
    (list "\\<\\(alias\\|for\\|group\\|quantity\\)\\s-+\\w+\\s-+\\(across\\=
|in\\|is\\)\\>"
 	 '(vhdl-font-lock-match-item
 	   (progn (goto-char (match-end 1)) (match-beginning 2))
-	   nil (1 font-lock-variable-name-face)))
+	   nil (1 'font-lock-variable-name-face)))
=20
    ;; highlight tool directives
    (list
     (concat
      "^\\s-*\\(`\\w+\\)")
-    1 'font-lock-preprocessor-face)
+    1 ''font-lock-preprocessor-face)
    )
   "For consideration as a value of `vhdl-font-lock-keywords'.
 This does context sensitive highlighting of names and labels.")
@@ -13667,20 +13667,20 @@ vhdl-font-lock-init
 		    2 'vhdl-font-lock-directive-face t)
 	      ;; highlight c-preprocessor directives
 	      (list "^#[ \t]*\\(\\w+\\)\\([ \t]+\\(\\w+\\)\\)?"
-		    '(1 font-lock-builtin-face)
-		    '(3 font-lock-variable-name-face nil t))))
+		    '(1 'font-lock-builtin-face)
+		    '(3 'font-lock-variable-name-face nil t))))
   ;; highlight keywords and standardized types, attributes, enumeration
   ;; values, and subprograms
   (setq vhdl-font-lock-keywords-1
 	(list
 	 (list (concat "'" vhdl-attributes-regexp)
 	       1 'vhdl-font-lock-attribute-face)
-	 (list vhdl-types-regexp       1 'font-lock-type-face)
+	 (list vhdl-types-regexp       1 ''font-lock-type-face)
 	 (list vhdl-functions-regexp   1 'vhdl-font-lock-function-face)
 	 (list vhdl-packages-regexp    1 'vhdl-font-lock-function-face)
 	 (list vhdl-enum-values-regexp 1 'vhdl-font-lock-enumvalue-face)
-	 (list vhdl-constants-regexp   1 'font-lock-constant-face)
-	 (list vhdl-keywords-regexp    1 'font-lock-keyword-face)))
+	 (list vhdl-constants-regexp   1 ''font-lock-constant-face)
+	 (list vhdl-keywords-regexp    1 ''font-lock-keyword-face)))
   ;; highlight words with special syntax.
   (setq vhdl-font-lock-keywords-3
 	(let ((syntax-alist vhdl-special-syntax-alist)
--=20
2.56.0


--=-=-=--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#82034; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 11 Oct 2026 06:41:20 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Oct 11 02:41:20 2026
Received: from localhost ([127.0.0.1]:36101 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1xFnFD-0004AG-OO
	for submit <at> debbugs.gnu.org; Sun, 11 Oct 2026 02:41:20 -0400
Received: from lists1p.gnu.org ([2001:470:142::17]:46690)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <ulm@HIDDEN>) id 1xFnF4-00048j-DN
 for submit <at> debbugs.gnu.org; Sun, 11 Oct 2026 02:41:13 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ulm@HIDDEN>) id 1xFnEy-0008K2-Ii
 for bug-gnu-emacs@HIDDEN; Sun, 11 Oct 2026 02:41:00 -0400
Received: from dev.gentoo.org ([2001:470:ea4a:1:5054:ff:fec7:86e4]
 helo=smtp.gentoo.org)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256)
 (Exim 4.90_1) (envelope-from <ulm@HIDDEN>) id 1xFnEs-0007Tp-7O
 for bug-gnu-emacs@HIDDEN; Sun, 11 Oct 2026 02:41:00 -0400
Received: from urania.fritz.box
 (p200300cbaf1ad000de45c96325fcfe81.dip0.t-ipconnect.de
 [IPv6:2003:cb:af1a:d000:de45:c963:25fc:fe81])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
 (No client certificate requested) (Authenticated sender: ulm)
 by smtp.gentoo.org (Postfix) with ESMTPSA id B9DFB340D21;
 Sun, 11 Oct 2026 06:40:48 +0000 (UTC)
From: =?utf-8?Q?Ulrich_M=C3=BCller?= <ulm@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 32.0.50; Replace obsolete font-lock-*-face variables
X-Debbugs-Cc: Sean Whitton <spwhitton@HIDDEN>
Date: Sun, 11 Oct 2026 08:40:43 +0200
Message-ID: <uecdw68pg@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
Received-SPF: pass client-ip=2001:470:ea4a:1:5054:ff:fec7:86e4;
 envelope-from=ulm@HIDDEN; helo=smtp.gentoo.org
X-Spam_score_int: -41
X-Spam_score: -4.2
X-Spam_bar: ----
X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3,
 SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.7 (/)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.3 (/)

--=-=-=
Content-Type: text/plain

Tags: patch

Following up on
https://lists.gnu.org/archive/html/emacs-devel/2026-10/msg00181.html,
I include a patch below for instances of unquoted font-lock-*-face
symbols.

For now, I have excluded lisp/progmodes/ from the patch. Fixing these
will be a much larger task than this.

I've also omitted lisp/obsolete/idlwave.el. Or should obsolete files
be updated, too?

It is all in a single commit, but of course I could split it up into
several patches (e.g. lisp + test + doc, or subdirs of lisp) if you
prefer that.


--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline;
 filename=0001-Replace-obsolete-font-lock-face-variables.patch
Content-Transfer-Encoding: quoted-printable

From 77257283da300762b8af30b6f18dbe5ff64fd382 Mon Sep 17 00:00:00 2001
From: =3D?UTF-8?q?Ulrich=3D20M=3DC3=3DBCller?=3D <ulm@HIDDEN>
Date: Sat, 10 Oct 2026 20:15:30 +0200
Subject: [PATCH] Replace obsolete font-lock-*-face variables

* lisp/font-lock.el (font-lock-syntactic-face-function)
(font-lock-default-fontify-syntactically)
(font-lock-compile-keywords, font-lock-compile-keyword)
(cpp-font-lock-keywords):
* lisp/editorconfig-conf-mode.el (editorconfig-conf-mode):
* lisp/generic-x.el (apache-conf-generic-mode)
(apache-log-generic-mode, samba-generic-mode)
(x-resource-generic-mode, hosts-generic-mode, inf-generic-mode)
(ini-generic-mode, reg-generic-mode)
(mailagent-rules-generic-mode, prototype-generic-mode)
(pkginfo-generic-mode, vrml-generic-mode)
(java-manifest-generic-mode, java-properties-generic-mode)
(alias-generic-mode, ansible-inventory-generic-mode)
(rc-generic-mode, rul-generic-mode, mailrc-generic-mode)
(inetd-conf-generic-mode, etc-services-generic-mode)
(etc-passwd-generic-mode, etc-fstab-generic-mode)
(etc-sudoers-generic-mode, named-boot-generic-mode)
(named-database-generic-mode, spice-generic-mode)
(ibis-generic-mode, astap-generic-mode):
* lisp/ielm.el (ielm-font-lock-keywords):
* lisp/shell.el (shell-font-lock-keywords):
* lisp/calendar/diary-lib.el (diary-font-lock-keywords)
(diary-fancy-font-lock-keywords):
* lisp/calendar/todo-mode.el (todo-font-lock-keywords):
* lisp/cedet/semantic/grammar.el (semantic-grammar-mode-keywords-1):
* lisp/cedet/srecode/srt-mode.el (srecode-font-lock-keywords):
* lisp/emacs-lisp/checkdoc.el (checkdoc-output-font-lock-keywords):
* lisp/emacs-lisp/ert.el (ert--activate-font-lock-keywords):
* lisp/emacs-lisp/re-builder.el (reb-rx-font-lock-keywords):
* lisp/emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
* lisp/mail/rmailsum.el (rmail-summary-font-lock-keywords):
* lisp/mail/sendmail.el (mail-font-lock-keywords):
* lisp/mh-e/mh-show.el (mh-show-font-lock-keywords-with-cite):
* lisp/net/dig.el (dig-font-lock-keywords):
* lisp/net/mairix.el (mairix-searches-mode-font-lock-keywords):
* lisp/net/net-utils.el (nslookup-font-lock-keywords)
(net-utils-font-lock-keywords):
* lisp/net/snmp-mode.el (snmp-font-lock-keywords-1)
(snmp-font-lock-keywords-2, snmp-font-lock-keywords-3):
* lisp/net/tramp-message.el (tramp-debug-font-lock-keywords):
* lisp/play/decipher.el (decipher-font-lock-keywords):
* lisp/textmodes/bibtex.el (bibtex-font-lock-keywords):
* lisp/textmodes/bibtex-style.el (bibtex-style-font-lock-keywords):
* lisp/textmodes/less-css-mode.el (less-css-font-lock-keywords):
* lisp/textmodes/reftex-index.el
(reftex-index-phrases-font-lock-keywords):
* lisp/textmodes/sgml-mode.el (sgml-font-lock-keywords-1):
* lisp/textmodes/tex-mode.el (tex-font-lock-keywords-1)
(tex-font-lock-keywords-2, doctex-font-lock-keywords):
* lisp/textmodes/texinfo.el (texinfo-font-lock-keywords):
* lisp/use-package/use-package-core.el
(use-package-font-lock-keywords):
* lisp/vc/cvs-status.el (cvs-status-font-lock-keywords):
* test/lisp/emacs-lisp/faceup-resources/faceup-test-mode.el
(faceup-test-font-lock-keywords):
* doc/emacs/display.texi (Traditional Font Lock):
* doc/lispref/modes.texi (Customizing Keywords):
Replace obsolete font-lock-*-face variables with quoted symbols.
---
 doc/emacs/display.texi                        |   2 +-
 doc/lispref/modes.texi                        |   8 +-
 lisp/calendar/diary-lib.el                    |  18 +-
 lisp/calendar/todo-mode.el                    |   2 +-
 lisp/cedet/semantic/grammar.el                |  18 +-
 lisp/cedet/srecode/srt-mode.el                |  60 ++---
 lisp/editorconfig-conf-mode.el                |   8 +-
 lisp/emacs-lisp/checkdoc.el                   |   4 +-
 lisp/emacs-lisp/ert.el                        |   4 +-
 lisp/emacs-lisp/re-builder.el                 |  10 +-
 lisp/emacs-lisp/shadow.el                     |   2 +-
 lisp/font-lock.el                             |  26 +--
 lisp/generic-x.el                             | 212 +++++++++---------
 lisp/ielm.el                                  |   4 +-
 lisp/mail/rmailsum.el                         |   8 +-
 lisp/mail/sendmail.el                         |  17 +-
 lisp/mh-e/mh-show.el                          |   4 +-
 lisp/net/dig.el                               |   8 +-
 lisp/net/mairix.el                            |  12 +-
 lisp/net/net-utils.el                         |  14 +-
 lisp/net/snmp-mode.el                         |  12 +-
 lisp/net/tramp-message.el                     |   2 +-
 lisp/play/decipher.el                         |  16 +-
 lisp/shell.el                                 |   6 +-
 lisp/textmodes/bibtex-style.el                |   6 +-
 lisp/textmodes/bibtex.el                      |  10 +-
 lisp/textmodes/less-css-mode.el               |   6 +-
 lisp/textmodes/reftex-index.el                |  20 +-
 lisp/textmodes/sgml-mode.el                   |   2 +-
 lisp/textmodes/tex-mode.el                    |  30 +--
 lisp/textmodes/texinfo.el                     |  22 +-
 lisp/use-package/use-package-core.el          |   4 +-
 lisp/vc/cvs-status.el                         |   4 +-
 .../faceup-resources/faceup-test-mode.el      |   2 +-
 34 files changed, 292 insertions(+), 291 deletions(-)

diff --git a/doc/emacs/display.texi b/doc/emacs/display.texi
index a0e59d6bda0..09ad59baa91 100644
--- a/doc/emacs/display.texi
+++ b/doc/emacs/display.texi
@@ -1159,7 +1159,7 @@ Traditional Font Lock
           (lambda ()
            (font-lock-add-keywords nil
             '(("\\<\\(FIXME\\):" 1
-               font-lock-warning-face t)))))
+               'font-lock-warning-face t)))))
 @end example
=20
 @findex font-lock-remove-keywords
diff --git a/doc/lispref/modes.texi b/doc/lispref/modes.texi
index 28c12e35207..91844ef87e4 100644
--- a/doc/lispref/modes.texi
+++ b/doc/lispref/modes.texi
@@ -3657,8 +3657,8 @@ Customizing Keywords
=20
 @smallexample
 (font-lock-add-keywords 'c-mode
- '(("\\<\\(FIXME\\):" 1 font-lock-warning-face prepend)
-   ("\\<\\(and\\|or\\|not\\)\\>" . font-lock-keyword-face)))
+ '(("\\<\\(FIXME\\):" 1 'font-lock-warning-face prepend)
+   ("\\<\\(and\\|or\\|not\\)\\>" . 'font-lock-keyword-face)))
 @end smallexample
=20
 @noindent
@@ -3669,9 +3669,9 @@ Customizing Keywords
 (add-hook 'c-mode-hook
  (lambda ()
   (font-lock-add-keywords nil
-   '(("\\<\\(FIXME\\):" 1 font-lock-warning-face prepend)
+   '(("\\<\\(FIXME\\):" 1 'font-lock-warning-face prepend)
      ("\\<\\(and\\|or\\|not\\)\\>" .
-      font-lock-keyword-face)))))
+      'font-lock-keyword-face)))))
 @end smallexample
=20
 @defopt font-lock-ignore
diff --git a/lisp/calendar/diary-lib.el b/lisp/calendar/diary-lib.el
index 59677e222db..a180d1fc556 100644
--- a/lisp/calendar/diary-lib.el
+++ b/lisp/calendar/diary-lib.el
@@ -2306,14 +2306,14 @@ diary-font-lock-keywords
    (list
     (cons
      (format "^%s.*$" (regexp-quote diary-include-string))
-     'font-lock-keyword-face)
+     ''font-lock-keyword-face)
     (cons
      (format "^%s?\\(%s\\)" (regexp-quote diary-nonmarking-symbol)
              (regexp-quote diary-sexp-entry-symbol))
-     '(1 font-lock-constant-face))
+     '(1 'font-lock-constant-face))
     (cons
      (format "^%s" (regexp-quote diary-nonmarking-symbol))
-     'font-lock-constant-face)
+     ''font-lock-constant-face)
     (cons
      (format "^%s?%s" (regexp-quote diary-nonmarking-symbol)
              (regexp-opt (mapcar #'regexp-quote
@@ -2322,8 +2322,8 @@ diary-font-lock-keywords
                                        diary-bahai-entry-symbol
                                        diary-chinese-entry-symbol))
                          t))
-     '(1 font-lock-constant-face))
-    '(diary-font-lock-sexps . font-lock-keyword-face)
+     '(1 'font-lock-constant-face))
+    '(diary-font-lock-sexps . 'font-lock-keyword-face)
     ;; Don't need to worry about space around "-" because the first
     ;; match takes care of that.  It does mean the "-" itself may or
     ;; may not be fontified though.
@@ -2393,10 +2393,10 @@ diary-fancy-date-matcher
=20
 (defvar diary-fancy-font-lock-keywords
   `(("^.*\\([aA]nniversary\\|[bB]irthday\\).*$" . 'diary-anniversary)
-    ("^.*Yahrzeit.*$" . font-lock-constant-face)
-    ("^\\(Erev \\)?Rosh Hodesh.*" . font-lock-function-name-face)
-    ("^Day.*omer.*$" . font-lock-builtin-face)
-    ("^Parashat.*$" . font-lock-comment-face)
+    ("^.*Yahrzeit.*$" . 'font-lock-constant-face)
+    ("^\\(Erev \\)?Rosh Hodesh.*" . 'font-lock-function-name-face)
+    ("^Day.*omer.*$" . 'font-lock-builtin-face)
+    ("^Parashat.*$" . 'font-lock-comment-face)
     (,(format "\\(^\\|\\s-\\)%s\\(-%s\\)?" diary-time-regexp
               diary-time-regexp)
      . 'diary-time))
diff --git a/lisp/calendar/todo-mode.el b/lisp/calendar/todo-mode.el
index 742f4e5d386..20bd3c057b7 100644
--- a/lisp/calendar/todo-mode.el
+++ b/lisp/calendar/todo-mode.el
@@ -6567,7 +6567,7 @@ todo-font-lock-keywords
    '(todo-nondiary-marker-matcher 1 todo-nondiary-face t)
    '(todo-nondiary-marker-matcher 2 todo-nondiary-face t)
    ;; diary-lib.el uses font-lock-constant-face for diary-nonmarking-symbo=
l.
-   '(todo-diary-nonmarking-matcher 1 font-lock-constant-face t)
+   '(todo-diary-nonmarking-matcher 1 'font-lock-constant-face t)
    '(todo-date-string-matcher 1 todo-date-face t)
    '(todo-time-string-matcher 1 todo-time-face t)
    '(todo-done-string-matcher 0 todo-done-face t)
diff --git a/lisp/cedet/semantic/grammar.el b/lisp/cedet/semantic/grammar.el
index 2c0b1184d36..41797a9ab63 100644
--- a/lisp/cedet/semantic/grammar.el
+++ b/lisp/cedet/semantic/grammar.el
@@ -1147,26 +1147,26 @@ semantic-grammar-mode-hook
=20
 (defvar semantic-grammar-mode-keywords-1
   `(("\\(\\<%%\\>\\|\\<%[{}]\\)"
-     0 font-lock-constant-face)
+     0 'font-lock-constant-face)
     ("\\(%\\)\\(\\(\\sw\\|\\s_\\)+\\)"
-     (1 font-lock-constant-face)
-     (2 font-lock-keyword-face))
+     (1 'font-lock-constant-face)
+     (2 'font-lock-keyword-face))
     ("\\<error\\>"
      0 (unless (semantic-grammar-in-lisp-p) 'bold))
     ("^\\(\\(\\sw\\|\\s_\\)+\\)[ \n\r\t]*:"
-     1 font-lock-function-name-face)
+     1 'font-lock-function-name-face)
     (semantic--grammar-macros-matcher
-     1 font-lock-builtin-face)
+     1 'font-lock-builtin-face)
     ("\\$\\(\\sw\\|\\s_\\)*"
-     0 font-lock-variable-name-face)
+     0 'font-lock-variable-name-face)
     ("<\\(\\(\\sw\\|\\s_\\)+\\)>"
-     1 font-lock-type-face)
+     1 'font-lock-type-face)
     (,semantic-grammar-lex-c-char-re
-     0 font-lock-constant-face t)
+     0 'font-lock-constant-face t)
     ;; Must highlight :keyword here, because ':' is a punctuation in
     ;; grammar mode!
     ("[\r\n\t ]+:\\sw+\\>"
-     0 font-lock-builtin-face)
+     0 'font-lock-builtin-face)
     ;; ;; Append the Semantic keywords
     ;; ,@semantic-fw-font-lock-keywords
     )
diff --git a/lisp/cedet/srecode/srt-mode.el b/lisp/cedet/srecode/srt-mode.el
index 6e9693177aa..83279b91653 100644
--- a/lisp/cedet/srecode/srt-mode.el
+++ b/lisp/cedet/srecode/srt-mode.el
@@ -66,70 +66,70 @@ srecode-font-lock-keywords
   '(
     ;; Template
     ("^\\(template\\)\\s-+\\(\\w*\\)\\(\\( \\(:\\w+\\)\\)*\\)$"
-     (1 font-lock-keyword-face)
-     (2 font-lock-function-name-face)
-     (3 font-lock-builtin-face ))
+     (1 'font-lock-keyword-face)
+     (2 'font-lock-function-name-face)
+     (3 'font-lock-builtin-face ))
     ("^\\(sectiondictionary\\)\\s-+\""
-     (1 font-lock-keyword-face))
+     (1 'font-lock-keyword-face))
     ("^\\s\s*\\(section\\)\\s-+\""
-     (1 font-lock-keyword-face))
+     (1 'font-lock-keyword-face))
     ("^\\s\s*\\(end\\)"
-     (1 font-lock-keyword-face))
+     (1 'font-lock-keyword-face))
     ("^\\(bind\\)\\s-+\""
-     (1 font-lock-keyword-face))
+     (1 'font-lock-keyword-face))
     ;; Variable type setting
     ("^\\s\s*\\(set\\)\\s-+\\(\\w+\\)\\s-+"
-     (1 font-lock-keyword-face)
-     (2 font-lock-variable-name-face))
+     (1 'font-lock-keyword-face)
+     (2 'font-lock-variable-name-face))
     ("^\\s\s*\\(show\\)\\s-+\\(\\w+\\)\\s-*$"
-     (1 font-lock-keyword-face)
-     (2 font-lock-variable-name-face))
+     (1 'font-lock-keyword-face)
+     (2 'font-lock-variable-name-face))
     ("\\<\\(macro\\)\\s-+\""
-     (1 font-lock-keyword-face))
+     (1 'font-lock-keyword-face))
     ;; Context type setting
     ("^\\(context\\)\\s-+\\(\\w+\\)"
-     (1 font-lock-keyword-face)
-     (2 font-lock-builtin-face))
+     (1 'font-lock-keyword-face)
+     (2 'font-lock-builtin-face))
     ;; Prompting setting
     ("^\\(prompt\\)\\s-+\\(\\w+\\)"
-     (1 font-lock-keyword-face)
-     (2 font-lock-variable-name-face))
+     (1 'font-lock-keyword-face)
+     (2 'font-lock-variable-name-face))
     ("\\(default\\(macro\\)?\\)\\s-+\\(\\(\\w\\|\\s_\\)+\\)"
-     (1 font-lock-keyword-face)
-     (3 font-lock-type-face))
-    ("\\<\\(default\\(macro\\)?\\)\\>" (1 font-lock-keyword-face))
+     (1 'font-lock-keyword-face)
+     (3 'font-lock-type-face))
+    ("\\<\\(default\\(macro\\)?\\)\\>" (1 'font-lock-keyword-face))
     ("\\<\\(read\\)\\s-+\\(\\(\\w\\|\\s_\\)+\\)"
-     (1 font-lock-keyword-face)
-     (2 font-lock-type-face))
+     (1 'font-lock-keyword-face)
+     (2 'font-lock-type-face))
=20
     ;; Macro separators
     ("^----\n" 0 'srecode-separator-face)
=20
     ;; Macro Matching
-    (srecode-template-mode-macro-escape-match 1 font-lock-string-face)
+    (srecode-template-mode-macro-escape-match 1 'font-lock-string-face)
     ((lambda (limit)
        (srecode-template-mode-font-lock-macro-helper
 	limit "\\(\\??\\w+\\)[^ \t\n{}$#@&*()]*"))
-     1 font-lock-variable-name-face)
+     1 'font-lock-variable-name-face)
     ((lambda (limit)
        (srecode-template-mode-font-lock-macro-helper
 	limit "\\([#/]\\w+\\)[^ \t\n{}$#@&*()]*"))
-     1 font-lock-keyword-face)
+     1 'font-lock-keyword-face)
     ((lambda (limit)
        (srecode-template-mode-font-lock-macro-helper
 	limit "\\([<>]\\w*\\):\\(\\w+\\):\\(\\w+\\)"))
-     (1 font-lock-keyword-face)
-     (2 font-lock-builtin-face)
-     (3 font-lock-type-face))
+     (1 'font-lock-keyword-face)
+     (2 'font-lock-builtin-face)
+     (3 'font-lock-type-face))
     ((lambda (limit)
        (srecode-template-mode-font-lock-macro-helper
 	limit "\\([<>?]?\\w*\\):\\(\\w+\\)"))
-     (1 font-lock-keyword-face)
-     (2 font-lock-type-face))
+     (1 'font-lock-keyword-face)
+     (2 'font-lock-type-face))
     ((lambda (limit)
        (srecode-template-mode-font-lock-macro-helper
 	limit "!\\([^{}$]*\\)"))
-     1 font-lock-comment-face)
+     1 'font-lock-comment-face)
=20
     )
   "Keywords for use with srecode macros and font-lock.")
diff --git a/lisp/editorconfig-conf-mode.el b/lisp/editorconfig-conf-mode.el
index b54c1745849..ff423b18c7f 100644
--- a/lisp/editorconfig-conf-mode.el
+++ b/lisp/editorconfig-conf-mode.el
@@ -74,18 +74,18 @@ editorconfig-conf-mode
            "utf-16be"
            "utf-16le"))
         (font-lock-value
-         '(("^[ \t]*\\[\\(.+?\\)\\]" 1 font-lock-type-face)
-           ("^[ \t]*\\(.+?\\)[ \t]*[=3D:]" 1 font-lock-variable-name-face)=
)))
+         '(("^[ \t]*\\[\\(.+?\\)\\]" 1 'font-lock-type-face)
+           ("^[ \t]*\\(.+?\\)[ \t]*[=3D:]" 1 'font-lock-variable-name-face=
))))
=20
     ;; Highlight all key values
     (dolist (key-value key-value-list)
       (push `(,(format "[=3D:][ \t]*\\(%s\\)\\([ \t]\\|$\\)" key-value)
-              1 font-lock-constant-face)
+              1 'font-lock-constant-face)
             font-lock-value))
     ;; Highlight all key properties
     (dolist (key-property key-property-list)
       (push `(,(format "^[ \t]*\\(%s\\)[ \t]*[=3D:]" key-property)
-              1 font-lock-builtin-face)
+              1 'font-lock-builtin-face)
             font-lock-value))
=20
     (conf-mode-initialize "#" font-lock-value)))
diff --git a/lisp/emacs-lisp/checkdoc.el b/lisp/emacs-lisp/checkdoc.el
index fd226b89fda..b6d97bc56dc 100644
--- a/lisp/emacs-lisp/checkdoc.el
+++ b/lisp/emacs-lisp/checkdoc.el
@@ -2769,8 +2769,8 @@ checkdoc-autofix-ask-replace
 ;;
 (defvar checkdoc-output-font-lock-keywords
   '(("^\\*\\*\\* \\(.+\\.el\\): \\([^ \n]+\\)"
-     (1 font-lock-function-name-face)
-     (2 font-lock-comment-face)))
+     (1 'font-lock-function-name-face)
+     (2 'font-lock-comment-face)))
   "Keywords used to highlight a checkdoc diagnostic buffer.")
=20
 (defvar checkdoc-output-error-regex-alist
diff --git a/lisp/emacs-lisp/ert.el b/lisp/emacs-lisp/ert.el
index 187d1d3da9b..3eff59c051f 100644
--- a/lisp/emacs-lisp/ert.el
+++ b/lisp/emacs-lisp/ert.el
@@ -1889,8 +1889,8 @@ ert--activate-font-lock-keywords
   (font-lock-add-keywords
    nil
    '(("(\\(\\<ert-deftest\\)\\>\\s *\\(\\(?:\\sw\\|\\s_\\)+\\)?"
-      (1 font-lock-keyword-face nil t)
-      (2 font-lock-function-name-face nil t)))))
+      (1 'font-lock-keyword-face nil t)
+      (2 'font-lock-function-name-face nil t)))))
=20
 (cl-defun ert--remove-from-list (list-var element &key key test)
   "Remove ELEMENT from the value of LIST-VAR if present.
diff --git a/lisp/emacs-lisp/re-builder.el b/lisp/emacs-lisp/re-builder.el
index c3f6450ac6a..af4aa45a896 100644
--- a/lisp/emacs-lisp/re-builder.el
+++ b/lisp/emacs-lisp/re-builder.el
@@ -827,15 +827,15 @@ reb-rx-font-lock-keywords
                             rx--categories)))
     `(
       (,(concat "(" (regexp-opt (list "rx-to-string") t) "[[:space:]]")
-       (1 font-lock-function-name-face))
+       (1 'font-lock-function-name-face))
       (,(concat "(" (regexp-opt (list "rx") t) "[[:space:]]")
-       (1 font-lock-preprocessor-face))
+       (1 'font-lock-preprocessor-face))
       (,(concat "(category[[:space:]]+" (regexp-opt categories t) ")")
-       (1 font-lock-variable-name-face))
+       (1 'font-lock-variable-name-face))
       (,(concat "(syntax[[:space:]]+" (regexp-opt syntax t) ")")
-       (1 font-lock-type-face))
+       (1 'font-lock-type-face))
       (,(concat "(" (regexp-opt constituents t))
-       (1 font-lock-keyword-face))
+       (1 'font-lock-keyword-face))
       )))
=20
 (defun reb-restart-font-lock ()
diff --git a/lisp/emacs-lisp/shadow.el b/lisp/emacs-lisp/shadow.el
index 0715affb6dc..a6e73b7ae8e 100644
--- a/lisp/emacs-lisp/shadow.el
+++ b/lisp/emacs-lisp/shadow.el
@@ -171,7 +171,7 @@ load-path-shadows-font-lock-keywords
 	       (or (locate-library "simple")
 		   (file-name-as-directory
 		    (expand-file-name "../lisp" data-directory)))))
-     . (1 font-lock-warning-face)))
+     . (1 'font-lock-warning-face)))
   "Keywords to highlight in `load-path-shadows-mode'.")
=20
 (define-derived-mode load-path-shadows-mode special-mode "LP-Shadows"
diff --git a/lisp/font-lock.el b/lisp/font-lock.el
index 6e688e7b7b1..f2257f42cee 100644
--- a/lisp/font-lock.el
+++ b/lisp/font-lock.el
@@ -579,7 +579,7 @@ font-lock-syntactically-fontified
=20
 (defvar font-lock-syntactic-face-function
   (lambda (state)
-    (if (nth 3 state) font-lock-string-face font-lock-comment-face))
+    (if (nth 3 state) 'font-lock-string-face 'font-lock-comment-face))
   "Function to determine which face to use when fontifying syntactically.
 The function is called with a single parameter (the state as returned by
 `parse-partial-sexp' at the beginning of the region to highlight) and
@@ -1614,12 +1614,12 @@ font-lock-default-fontify-syntactically
 		  (if (looking-at (or font-lock-comment-start-skip
 				      comment-start-skip))
 		      (put-text-property beg (match-end 0) 'face
-				         font-lock-comment-delimiter-face)))
+				         'font-lock-comment-delimiter-face)))
 	        (if (looking-back (or font-lock-comment-end-skip
 				      comment-end-skip)
                                   (line-beginning-position) t)
 		    (put-text-property (match-beginning 0) (point) 'face
-				       font-lock-comment-delimiter-face))))
+				       'font-lock-comment-delimiter-face))))
 	    (< (point) end))
         (setq state (parse-partial-sexp (point) end nil nil state
 				        'syntax-table))))))
@@ -1795,14 +1795,14 @@ font-lock-compile-keywords
 		   (if (memq (get-text-property (match-beginning 0) 'face)
 			     '(font-lock-string-face font-lock-doc-face
 			       font-lock-comment-face))
-		       (list 'face font-lock-warning-face
+		       (list 'face 'font-lock-warning-face
                              'help-echo "Looks like a toplevel defun: esca=
pe the parenthesis"))
 		   prepend)))))
     keywords))
=20
 (defun font-lock-compile-keyword (keyword)
   (cond ((or (functionp keyword) (nlistp keyword)) ; MATCHER
-	 (list keyword '(0 font-lock-keyword-face)))
+	 (list keyword '(0 'font-lock-keyword-face)))
 	((eq (car keyword) 'eval)		; (eval . FORM)
 	 (font-lock-compile-keyword (eval (cdr keyword) t)))
 	((eq (car-safe (cdr keyword)) 'quote)	; (MATCHER . 'FORM)
@@ -1811,7 +1811,7 @@ font-lock-compile-keyword
 	     (list (car keyword) (list 0 (cdr keyword)))
 	   (font-lock-compile-keyword (cons (car keyword) (nth 2 keyword)))))
 	((numberp (cdr keyword))		; (MATCHER . MATCH)
-	 (list (car keyword) (list (cdr keyword) 'font-lock-keyword-face)))
+	 (list (car keyword) (list (cdr keyword) ''font-lock-keyword-face)))
 	((symbolp (cdr keyword))		; (MATCHER . FACENAME)
 	 (list (car keyword) (list 0 (cdr keyword))))
 	((nlistp (nth 1 keyword))		; (MATCHER . HIGHLIGHT)
@@ -2398,15 +2398,15 @@ cpp-font-lock-keywords
     (list
      ;;
      ;; Fontify error directives.
-     '("^#[ \t]*\\(?:error\\|warning\\)[ \t]+\\(.+\\)" 1 font-lock-warning=
-face prepend)
+     '("^#[ \t]*\\(?:error\\|warning\\)[ \t]+\\(.+\\)" 1 'font-lock-warnin=
g-face prepend)
      ;;
      ;; Fontify filenames in #include <...> preprocessor directives as str=
ings.
      '("^#[ \t]*\\(?:import\\|include\\)[ \t]*\\(<[^>\"\n]*>?\\)"
-       1 font-lock-string-face prepend)
+       1 'font-lock-string-face prepend)
      ;;
      ;; Fontify function macro names.
      `("^#[ \t]*define[ \t]+\\([[:alpha:]_][[:alnum:]_$]*\\)("
-       (1 font-lock-function-name-face prepend)
+       (1 'font-lock-function-name-face prepend)
        ;;
        ;; Macro arguments.
        (,(lambda (limit)
@@ -2415,20 +2415,20 @@ cpp-font-lock-keywords
 	    (or (save-excursion (re-search-forward ")" limit t))
 	        limit)
 	    t))
-	nil nil (1 font-lock-variable-name-face prepend)))
+	nil nil (1 'font-lock-variable-name-face prepend)))
      ;;
      ;; Fontify symbol names in #elif or #if ... defined preprocessor dire=
ctives.
      '("^#[ \t]*\\(?:elif\\|if\\)\\>"
        ("\\<\\(defined\\)\\>[ \t]*(?\\([[:alpha:]_][[:alnum:]_]*\\)?" nil =
nil
-	(1 font-lock-builtin-face prepend) (2 font-lock-variable-name-face prepen=
d t)))
+	(1 'font-lock-builtin-face prepend) (2 'font-lock-variable-name-face prep=
end t)))
      ;;
      ;; Fontify otherwise as symbol names, and the preprocessor directive =
names.
      (list
       (concat "^\\(#[ \t]*\\(?:" directives
 	      "\\)\\)\\>[ \t!]*\\([[:alpha:]_][[:alnum:]_]*\\)?")
-      '(1 font-lock-preprocessor-face prepend)
+      '(1 'font-lock-preprocessor-face prepend)
       (list (+ 2 directives-depth)
-	    'font-lock-variable-name-face nil t))))
+	    ''font-lock-variable-name-face nil t))))
   "Font lock keywords for C preprocessor directives.
 `c-mode', `c++-mode' and `objc-mode' have their own font lock keywords
 for C preprocessor directives.  This definition is for the other modes
diff --git a/lisp/generic-x.el b/lisp/generic-x.el
index be370fcebf2..59930083bf8 100644
--- a/lisp/generic-x.el
+++ b/lisp/generic-x.el
@@ -268,8 +268,8 @@ generic-extras-enable-list
 (define-generic-mode apache-conf-generic-mode
   '(?#)
   nil
-  '(("^\\s-*\\(<.*>\\)"      1 font-lock-constant-face)
-    ("^\\s-*\\(\\sw+\\)\\s-" 1 font-lock-variable-name-face))
+  '(("^\\s-*\\(<.*>\\)"      1 'font-lock-constant-face)
+    ("^\\s-*\\(\\sw+\\)\\s-" 1 'font-lock-variable-name-face))
   '("srm\\.conf\\'" "httpd\\.conf\\'" "access\\.conf\\'")
   (list
    (lambda ()
@@ -286,8 +286,8 @@ apache-log-generic-mode
   nil
   ;; Hostname ? user date request return-code number-of-bytes
   '(("^\\([-a-zA-Z0-9.]+\\) - [-A-Za-z]+ \\(\\[.*\\]\\)"
-     (1 font-lock-constant-face)
-     (2 font-lock-variable-name-face)))
+     (1 'font-lock-constant-face)
+     (2 'font-lock-variable-name-face)))
   '("access_log\\'")
   nil
   "Generic mode for Apache log files."))
@@ -298,10 +298,10 @@ apache-log-generic-mode
 (define-generic-mode samba-generic-mode
   '(?\; ?#)
   nil
-  '(("^\\(\\[.*\\]\\)" 1 font-lock-constant-face)
+  '(("^\\(\\[.*\\]\\)" 1 'font-lock-constant-face)
     ("^\\s-*\\(.+\\)=3D\\([^\r\n]*\\)"
-     (1 font-lock-variable-name-face)
-     (2 font-lock-type-face)))
+     (1 'font-lock-variable-name-face)
+     (2 'font-lock-type-face)))
   '("smb\\.conf\\'")
   '(generic-bracket-support)
   "Generic mode for Samba configuration files."))
@@ -339,7 +339,7 @@ fvwm-generic-mode
 (define-generic-mode x-resource-generic-mode
   '(?!)
   nil
-  '(("^\\([^:\n]+:\\)" 1 font-lock-variable-name-face))
+  '(("^\\([^:\n]+:\\)" 1 'font-lock-variable-name-face))
   '("\\.Xdefaults\\'" "\\.Xresources\\'" "\\.Xenvironment\\'" "\\.ad\\'")
   nil
   "Generic mode for X Resource configuration files."))
@@ -359,8 +359,8 @@ xmodmap-generic-mode
 (define-generic-mode hosts-generic-mode
   '(?#)
   '("localhost")
-  '(("\\([0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]+\\)" 1 font-lock-constant-face)
-    ("\\<\\([0-9A-Fa-f:]+\\)\\>" 1 font-lock-constant-face))
+  '(("\\([0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]+\\)" 1 'font-lock-constant-face)
+    ("\\<\\([0-9A-Fa-f:]+\\)\\>" 1 'font-lock-constant-face))
   '("[hH][oO][sS][tT][sS]\\'")
   nil
   "Generic mode for HOSTS files."))
@@ -375,7 +375,7 @@ hosts-generic-mode
 (define-generic-mode inf-generic-mode
   '(?\;)
   nil
-  '(("^\\(\\[.*\\]\\)" 1 font-lock-constant-face))
+  '(("^\\(\\[.*\\]\\)" 1 'font-lock-constant-face))
   '("\\.[iI][nN][fF]\\'")
   '(generic-bracket-support)
   "Generic mode for MS-Windows INF files."))
@@ -387,10 +387,10 @@ inf-generic-mode
 (define-generic-mode ini-generic-mode
   '(?\;)
   nil
-  '(("^\\(\\[.*\\]\\)" 1 font-lock-constant-face)
+  '(("^\\(\\[.*\\]\\)" 1 'font-lock-constant-face)
     ("^\\([^=3D\n\r]*\\)=3D\\([^\n\r]*\\)$"
-     (1 font-lock-function-name-face)
-     (2 font-lock-variable-name-face)))
+     (1 'font-lock-function-name-face)
+     (2 'font-lock-variable-name-face)))
   '("\\.[iI][nN][iI]\\'")
   (list
    (lambda ()
@@ -420,8 +420,8 @@ 'generic-mode-ini-file-find-file-hook
 (define-generic-mode reg-generic-mode
   '(?\;)
   '("key" "classes_root" "REGEDIT" "REGEDIT4")
-  '(("\\(\\[.*\\]\\)"        1 font-lock-constant-face)
-    ("^\\([^\n\r]*\\)\\s-*=3D" 1 font-lock-variable-name-face))
+  '(("\\(\\[.*\\]\\)"        1 'font-lock-constant-face)
+    ("^\\([^\n\r]*\\)\\s-*=3D" 1 'font-lock-variable-name-face))
   '("\\.[rR][eE][gG]\\'")
   (list
    (lambda ()
@@ -443,8 +443,8 @@ reg-generic-mode
 (define-generic-mode mailagent-rules-generic-mode
   '(?#)
   '("SAVE" "DELETE" "PIPE" "ANNOTATE" "REJECT")
-  '(("^\\(\\sw+\\)\\s-*=3D"         1 font-lock-variable-name-face)
-    ("\\s-/\\([^/]+\\)/[i, \t\n]" 1 font-lock-constant-face))
+  '(("^\\(\\sw+\\)\\s-*=3D"         1 'font-lock-variable-name-face)
+    ("\\s-/\\([^/]+\\)/[i, \t\n]" 1 'font-lock-constant-face))
   '("\\.rules\\'")
   (list
    (lambda ()
@@ -459,18 +459,18 @@ prototype-generic-mode
   '(?#)
   nil
   '(("^\\([0-9]\\)?\\s-*\\([a-z]\\)\\s-+\\([A-Za-z_]+\\)\\s-+\\([^\n\r]*\\=
)$"
-     (2 font-lock-constant-face)
-     (3 font-lock-keyword-face))
+     (2 'font-lock-constant-face)
+     (3 'font-lock-keyword-face))
     ("^\\([a-z]\\) \\([A-Za-z_]+\\)=3D\\([^\n\r]*\\)$"
-     (1 font-lock-constant-face)
-     (2 font-lock-keyword-face)
-     (3 font-lock-variable-name-face))
+     (1 'font-lock-constant-face)
+     (2 'font-lock-keyword-face)
+     (3 'font-lock-variable-name-face))
     ("^\\(!\\s-*\\(search\\|include\\|default\\)\\)\\s-*\\([^\n\r]*\\)$"
-     (1 font-lock-keyword-face)
-     (3 font-lock-variable-name-face))
+     (1 'font-lock-keyword-face)
+     (3 'font-lock-variable-name-face))
     ("^\\(!\\s-*\\sw+\\)=3D\\([^\n\r]*\\)$"
-     (1 font-lock-keyword-face)
-     (2 font-lock-variable-name-face)))
+     (1 'font-lock-keyword-face)
+     (2 'font-lock-variable-name-face)))
   '("prototype\\'")
   nil
   "Generic mode for Sys V prototype files."))
@@ -482,8 +482,8 @@ pkginfo-generic-mode
   '(?#)
   nil
   '(("^\\([A-Za-z_]+\\)=3D\\([^\n\r]*\\)$"
-     (1 font-lock-keyword-face)
-     (2 font-lock-variable-name-face)))
+     (1 'font-lock-keyword-face)
+     (2 'font-lock-variable-name-face)))
   '("pkginfo\\'")
   nil
   "Generic mode for Sys V pkginfo files."))
@@ -522,14 +522,14 @@ vrml-generic-mode
     "transparency"
     "type")
   '(("USE\\s-+\\([-A-Za-z0-9_]+\\)"
-     (1 font-lock-constant-face))
+     (1 'font-lock-constant-face))
     ("DEF\\s-+\\([-A-Za-z0-9_]+\\)\\s-+\\([A-Za-z0-9]+\\)\\s-*{"
-     (1 font-lock-type-face)
-     (2 font-lock-constant-face))
+     (1 'font-lock-type-face)
+     (2 'font-lock-constant-face))
     ("^\\s-*\\([-A-Za-z0-9_]+\\)\\s-*{"
-     (1 font-lock-function-name-face))
+     (1 'font-lock-function-name-face))
     ("^\\s-*\\(geometry\\|appearance\\|material\\)\\s-+\\([-A-Za-z0-9_]+\\=
)"
-     (2 font-lock-variable-name-face)))
+     (2 'font-lock-variable-name-face)))
   '("\\.wrl\\'")
   (list
    (lambda ()
@@ -554,9 +554,9 @@ java-manifest-generic-mode
     "Java-Bean"
     "Depends-On")
   '(("^Name:\\s-+\\([^\n\r]*\\)$"
-     (1 font-lock-variable-name-face))
+     (1 'font-lock-variable-name-face))
     ("^\\(Manifest\\|Required\\|Signature\\)-Version:\\s-+\\([^\n\r]*\\)$"
-     (2 font-lock-constant-face)))
+     (2 'font-lock-constant-face)))
   '("[mM][aA][nN][iI][fF][eE][sS][tT]\\.[mM][fF]\\'")
   nil
   "Generic mode for Java Manifest files."))
@@ -580,8 +580,8 @@ java-properties-generic-mode
        (lambda (elt)
          (list
           (concat "^" java-properties-key elt java-properties-value "$")
-          '(1 font-lock-constant-face)
-          '(4 font-lock-variable-name-face)))
+          '(1 'font-lock-constant-face)
+          '(4 'font-lock-variable-name-face)))
        ;; These are the separators
        '(":\\s-*" "\\s-+" "\\s-*=3D\\s-*"))))
   nil
@@ -598,9 +598,9 @@ alias-generic-mode
   '(?#)
   '("alias" "unalias")
   '(("^alias\\s-+\\([-A-Za-z0-9_]+\\)\\s-+"
-     (1 font-lock-variable-name-face))
+     (1 'font-lock-variable-name-face))
     ("^unalias\\s-+\\([-A-Za-z0-9_]+\\)\\s-*$"
-     (1 font-lock-variable-name-face)))
+     (1 'font-lock-variable-name-face)))
   '("alias\\'")
   (list
    (lambda ()
@@ -614,15 +614,15 @@ alias-generic-mode
 (define-generic-mode ansible-inventory-generic-mode
   '(?#)
   nil
-  '(("^\\s-*\\(\\[.*\\]\\)" 1 font-lock-constant-face)
-    ("^\\s-*\\([^ \n\r]*\\)" 1 font-lock-function-name-face)
+  '(("^\\s-*\\(\\[.*\\]\\)" 1 'font-lock-constant-face)
+    ("^\\s-*\\([^ \n\r]*\\)" 1 'font-lock-function-name-face)
     ;; Variable assignments must be x=3Dy, so highlight as warning if
     ;; the value is missing.
-    ("\\s-\\([^ =3D\n\r]+\\)[\n\r ]" 1 font-lock-warning-face)
+    ("\\s-\\([^ =3D\n\r]+\\)[\n\r ]" 1 'font-lock-warning-face)
     ;; Variable assignments: x=3Dy
     ("\\([^ =3D\n\r]+\\)=3D\\([^ \n\r]*\\)"
-     (1 font-lock-variable-name-face)
-     (2 font-lock-keyword-face)))
+     (1 'font-lock-variable-name-face)
+     (2 'font-lock-keyword-face)))
   '("inventory\\'")
   (list
    (lambda ()
@@ -702,18 +702,18 @@ rc-generic-mode
 			 "FILETYPE"
 			 "FILEVERSION"
 			 "PRODUCTVERSION") 'symbols)
-           1 'font-lock-type-face)
+           1 ''font-lock-type-face)
      (list (regexp-opt '("BEGIN" "BLOCK" "END" "VALUE") 'symbols)
-           1 'font-lock-function-name-face)
-     '("^#[ \t]*include[ \t]+\\(<[^>\"\n]+>\\)" 1 font-lock-string-face)
-     '("^#[ \t]*define[ \t]+\\(\\sw+\\)("       1 font-lock-function-name-=
face)
+           1 ''font-lock-function-name-face)
+     '("^#[ \t]*include[ \t]+\\(<[^>\"\n]+>\\)" 1 'font-lock-string-face)
+     '("^#[ \t]*define[ \t]+\\(\\sw+\\)("       1 'font-lock-function-name=
-face)
      '("^#[ \t]*\\(elif\\|if\\)\\>"
        ("\\<\\(defined\\)\\>[ \t]*(?\\(\\sw+\\)?" nil nil
-	(1 font-lock-constant-face)
-	(2 font-lock-variable-name-face nil t)))
+	(1 'font-lock-constant-face)
+	(2 'font-lock-variable-name-face nil t)))
      '("^#[ \t]*\\(\\sw+\\)\\>[ \t]*\\(\\sw+\\)?"
-       (1 font-lock-constant-face)
-       (2 font-lock-variable-name-face nil t))))
+       (1 'font-lock-constant-face)
+       (2 'font-lock-variable-name-face nil t))))
     '("\\.[rR][cC]\\'")
     nil
     "Generic mode for MS-Windows Resource files."))
@@ -1308,37 +1308,37 @@ rul-generic-mode
     (list
      ;; preprocessor constructs
      '("#[ \t]*include[ \t]+\\(<[^>\"\n]+>\\)"
-       1 font-lock-string-face)
+       1 'font-lock-string-face)
      '("#[ \t]*\\(\\sw+\\)\\>[ \t]*\\(\\sw+\\)?"
-       (1 font-lock-constant-face)
-       (2 font-lock-variable-name-face nil t))
+       (1 'font-lock-constant-face)
+       (2 'font-lock-variable-name-face nil t))
      ;; indirect string constants
-     '("\\(@[A-Za-z][A-Za-z0-9_]+\\)" 1 font-lock-builtin-face)
+     '("\\(@[A-Za-z][A-Za-z0-9_]+\\)" 1 'font-lock-builtin-face)
      ;; gotos
-     '("[ \t]*\\(\\sw+:\\)"           1 font-lock-constant-face)
+     '("[ \t]*\\(\\sw+:\\)"           1 'font-lock-constant-face)
      '("\\<\\(goto\\)\\>[ \t]*\\(\\sw+\\)?"
-       (1 font-lock-keyword-face)
-       (2 font-lock-constant-face nil t))
+       (1 'font-lock-keyword-face)
+       (2 'font-lock-constant-face nil t))
      ;; system variables
      (list (concat "[^_]"
 		   (regexp-opt installshield-system-variables-list 'symbols)
 		   "[^_]")
-           1 'font-lock-variable-name-face)
+           1 ''font-lock-variable-name-face)
      ;; system functions
      (list (concat "[^_]"
 		   (regexp-opt installshield-system-functions-list 'symbols)
 		   "[^_]")
-           1 'font-lock-function-name-face)
+           1 ''font-lock-function-name-face)
      ;; type keywords
      (list (concat "[^_]"
 		   (regexp-opt installshield-types-list 'symbols)
 		   "[^_]")
-           1 'font-lock-type-face)
+           1 ''font-lock-type-face)
      ;; function argument constants
      (list (concat "[^_]"
 		   (regexp-opt installshield-funarg-constants-list 'symbols)
 		   "[^_]")
-           1 'font-lock-variable-name-face))) ; is this face the best choi=
ce?
+           1 ''font-lock-variable-name-face))) ; is this face the best cho=
ice?
   '("\\.[rR][uU][lL]\\'")
   '(generic-rul-mode-setup-function)
   "Generic mode for InstallShield RUL files.")
@@ -1382,13 +1382,13 @@ mailrc-generic-mode
     "source"
     "unset")
   '(("^\\s-*\\(alias\\|group\\)\\s-+\\([-A-Za-z0-9_]+\\)\\s-+\\([^\n\r#]*\=
\)\\(#.*\\)?$"
-     (2 font-lock-constant-face)
-     (3 font-lock-variable-name-face))
+     (2 'font-lock-constant-face)
+     (3 'font-lock-variable-name-face))
     ("^\\s-*\\(unset\\|set\\|ignore\\)\\s-+\\([-A-Za-z0-9_]+\\)=3D?\\([^\n=
\r#]*\\)\\(#.*\\)?$"
-     (2 font-lock-constant-face)
-     (3 font-lock-variable-name-face))
+     (2 'font-lock-constant-face)
+     (3 'font-lock-variable-name-face))
     ("^\\s-*\\(source\\)\\s-+\\([^\n\r#]*\\)\\(#.*\\)?$"
-     (2 font-lock-variable-name-face)))
+     (2 'font-lock-variable-name-face)))
   '("\\.mailrc\\'")
   nil
   "Mode for mailrc files."))
@@ -1405,7 +1405,7 @@ inetd-conf-generic-mode
     "wait"
     "nowait"
     "internal")
-  '(("^\\([-A-Za-z0-9_]+\\)" 1 font-lock-type-face))
+  '(("^\\([-A-Za-z0-9_]+\\)" 1 'font-lock-type-face))
   '("/etc/inetd\\.conf\\'")
   (list
    (lambda ()
@@ -1421,8 +1421,8 @@ etc-services-generic-mode
     "udp"
     "ddp")
   '(("^\\([-A-Za-z0-9_]+\\)\\s-+\\([0-9]+\\)/"
-     (1 font-lock-type-face)
-     (2 font-lock-variable-name-face)))
+     (1 'font-lock-type-face)
+     (2 'font-lock-variable-name-face)))
   '("/etc/services\\'")
   (list
    (lambda ()
@@ -1457,13 +1457,13 @@ etc-passwd-generic-mode
        ":?"
        "\\([^:]*\\)"
        "$")
-      '(1 font-lock-type-face)
-      '(5 font-lock-variable-name-face)
-      '(6 font-lock-constant-face)
-      '(7 font-lock-warning-face))
+      '(1 'font-lock-type-face)
+      '(5 'font-lock-variable-name-face)
+      '(6 'font-lock-constant-face)
+      '(7 'font-lock-warning-face))
      '("^\\([^:]+\\):\\([^:]*\\):\\([0-9]+\\):\\(.*\\)$"
-       (1 font-lock-type-face)
-       (4 font-lock-variable-name-face))))
+       (1 'font-lock-type-face)
+       (4 'font-lock-variable-name-face))))
   ;; /etc/passwd- is a backup file for /etc/passwd, so is group- and shado=
w-
   '("/etc/passwd-?\\'" "/etc/group-?\\'" "/etc/shadow-?\\'")
   (list
@@ -1580,8 +1580,8 @@ etc-fstab-generic-mode
     "auto"
     "ignore")
   '(("^\\([^# \t]+\\)\\s-+\\([^# \t]+\\)"
-     (1 font-lock-type-face t)
-     (2 font-lock-variable-name-face t)))
+     (1 'font-lock-type-face t)
+     (2 'font-lock-variable-name-face t)))
   '("/etc/[v]*fstab\\'")
   (list
    (lambda ()
@@ -1596,9 +1596,9 @@ etc-sudoers-generic-mode
   '("User_Alias" "Runas_Alias" "Host_Alias"  "Cmnd_Alias"
     "NOPASSWD" "PASSWD" "NOEXEC" "EXEC"
     "ALL")
-  '(("\\<\\(root\\|su\\)\\>" 1 font-lock-warning-face)
-    ("\\(\\*\\)" 1 font-lock-warning-face)
-    ("\\<\\(%[A-Za-z0-9_]+\\)\\>" 1 font-lock-variable-name-face))
+  '(("\\<\\(root\\|su\\)\\>" 1 'font-lock-warning-face)
+    ("\\(\\*\\)" 1 'font-lock-warning-face)
+    ("\\<\\(%[A-Za-z0-9_]+\\)\\>" 1 'font-lock-variable-name-face))
   '("/etc/sudoers\\'")
   nil
   "Generic mode for sudoers configuration files."))
@@ -1658,11 +1658,11 @@ named-boot-generic-mode
   '("cache" "primary" "secondary" "forwarders" "limit" "options"
     "directory" "check-names")
   ;; List of additional font-lock-expressions
-  '(("\\([0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]+\\)" 1 font-lock-constant-face)
-    ("^directory\\s-+\\(.*\\)"              1 font-lock-variable-name-face)
+  '(("\\([0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]+\\)" 1 'font-lock-constant-face)
+    ("^directory\\s-+\\(.*\\)"              1 'font-lock-variable-name-fac=
e)
     ("^\\(primary\\|cache\\)\\s-+\\([.A-Za-z]+\\)\\s-+\\(.*\\)"
-     (2 font-lock-variable-name-face)
-     (3 font-lock-constant-face)))
+     (2 'font-lock-variable-name-face)
+     (3 'font-lock-constant-face)))
   ;; List of additional automode-alist expressions
   '("/etc/named\\.boot\\'")
   ;; List of set up functions to call
@@ -1676,8 +1676,8 @@ named-database-generic-mode
   ;; List of keywords
   '("IN" "NS" "CNAME" "SOA" "PTR" "MX" "A")
   ;; List of additional font-lock-expressions
-  '(("\\([0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]+\\)" 1 font-lock-constant-face)
-    ("^\\([.A-Za-z0-9]+\\)"                 1 font-lock-variable-name-face=
))
+  '(("\\([0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]+\\)" 1 'font-lock-constant-face)
+    ("^\\([.A-Za-z0-9]+\\)"                 1 'font-lock-variable-name-fac=
e))
   ;; List of additional auto-mode-alist expressions
   nil
   ;; List of set up functions to call
@@ -1728,15 +1728,15 @@ spice-generic-mode
     "vccs"
     "vcr"
     "vcvs")
-  '(("^\\s-*\\([*].*\\)"                1 font-lock-comment-face)
-    (" \\(\\$ .*\\)$"                   1 font-lock-comment-face)
-    ("^\\(\\$ .*\\)$"                   1 font-lock-comment-face)
-    ("\\([*].*\\)"                      1 font-lock-comment-face)
-    ("^\\([+]\\)"                       1 font-lock-string-face)
-    ("^\\s-*\\([.]\\w+\\>\\)"           1 font-lock-keyword-face)
-    ("\\(\\([.]\\|_\\|\\w\\)+\\)\\s-*=3D" 1 font-lock-variable-name-face)
-    ("\\('[^']+'\\)"                    1 font-lock-string-face)
-    ("\\(\"[^\"]+\"\\)"                 1 font-lock-string-face))
+  '(("^\\s-*\\([*].*\\)"                1 'font-lock-comment-face)
+    (" \\(\\$ .*\\)$"                   1 'font-lock-comment-face)
+    ("^\\(\\$ .*\\)$"                   1 'font-lock-comment-face)
+    ("\\([*].*\\)"                      1 'font-lock-comment-face)
+    ("^\\([+]\\)"                       1 'font-lock-string-face)
+    ("^\\s-*\\([.]\\w+\\>\\)"           1 'font-lock-keyword-face)
+    ("\\(\\([.]\\|_\\|\\w\\)+\\)\\s-*=3D" 1 'font-lock-variable-name-face)
+    ("\\('[^']+'\\)"                    1 'font-lock-string-face)
+    ("\\(\"[^\"]+\"\\)"                 1 'font-lock-string-face))
   '("\\.[sS][pP]\\'"
     "\\.[sS][pP][iI]\\'"
     "\\.[sS][pP][iI][cC][eE]\\'"
@@ -1753,8 +1753,8 @@ spice-generic-mode
 (define-generic-mode ibis-generic-mode
   '(?|)
   nil
-  '(("[[]\\([^]]*\\)[]]"          1 font-lock-keyword-face)
-    ("\\(\\(_\\|\\w\\)+\\)\\s-*=3D" 1 font-lock-variable-name-face))
+  '(("[[]\\([^]]*\\)[]]"          1 'font-lock-keyword-face)
+    ("\\(\\(_\\|\\w\\)+\\)\\s-*=3D" 1 'font-lock-variable-name-face))
   '("\\.[iI][bB][sS]\\'")
   '(generic-bracket-support)
   "Generic mode for IBIS circuit netlist files."))
@@ -1776,12 +1776,12 @@ astap-generic-mode
     "run"
     "controls"
     "table")
-  '(("^\\s-*\\([*].*\\)"      1 font-lock-comment-face)
-    (";\\s-*\\([*].*\\)"      1 font-lock-comment-face)
-    ("^\\s-*\\([.]\\w+\\>\\)" 1 font-lock-keyword-face)
-    ("\\('[^']+'\\)"          1 font-lock-string-face)
-    ("\\(\"[^\"]+\"\\)"       1 font-lock-string-face)
-    ("[(,]\\s-*\\(\\([.]\\|_\\|\\w\\)+\\)\\s-*=3D" 1 font-lock-variable-na=
me-face))
+  '(("^\\s-*\\([*].*\\)"      1 'font-lock-comment-face)
+    (";\\s-*\\([*].*\\)"      1 'font-lock-comment-face)
+    ("^\\s-*\\([.]\\w+\\>\\)" 1 'font-lock-keyword-face)
+    ("\\('[^']+'\\)"          1 'font-lock-string-face)
+    ("\\(\"[^\"]+\"\\)"       1 'font-lock-string-face)
+    ("[(,]\\s-*\\(\\([.]\\|_\\|\\w\\)+\\)\\s-*=3D" 1 'font-lock-variable-n=
ame-face))
   '("\\.[aA][pP]\\'"
     "\\.[aA][sS][xX]\\'"
     "\\.[aA][sS][tT][aA][pP]\\'"
diff --git a/lisp/ielm.el b/lisp/ielm.el
index 0f6ba30ec00..e5dc21694b8 100644
--- a/lisp/ielm.el
+++ b/lisp/ielm.el
@@ -203,8 +203,8 @@ ielm-menu
=20
 (defvar ielm-font-lock-keywords
   '(("\\(^\\*\\*\\*[^*]+\\*\\*\\*\\)\\(.*$\\)"
-     (1 font-lock-comment-face)
-     (2 font-lock-constant-face)))
+     (1 'font-lock-comment-face)
+     (2 'font-lock-constant-face)))
   "Additional expressions to highlight in IELM buffers.")
=20
 ;;; Completion stuff
diff --git a/lisp/mail/rmailsum.el b/lisp/mail/rmailsum.el
index f964c7b4c0c..8ec77ae9aac 100644
--- a/lisp/mail/rmailsum.el
+++ b/lisp/mail/rmailsum.el
@@ -180,11 +180,11 @@ rmail-summary-message-descendants-vector
 First element is ignored.")
=20
 (defvar rmail-summary-font-lock-keywords
-  '(("^ *[0-9]+D.*" . font-lock-string-face)			; Deleted.
-    ("^ *[0-9]+-.*" . font-lock-type-face)			; Unread.
+  '(("^ *[0-9]+D.*" . 'font-lock-string-face)			; Deleted.
+    ("^ *[0-9]+-.*" . 'font-lock-type-face)			; Unread.
     ;; Neither of the below will be highlighted if either of the above are:
-    ("^ *[0-9]+[^D-] \\(......\\)" 1 font-lock-keyword-face)	; Date.
-    ("{ \\([^\n}]+\\) }" 1 font-lock-comment-face))		; Labels.
+    ("^ *[0-9]+[^D-] \\(......\\)" 1 'font-lock-keyword-face)	; Date.
+    ("{ \\([^\n}]+\\) }" 1 'font-lock-comment-face))		; Labels.
   "Additional expressions to highlight in Rmail Summary mode.")
=20
 (defvar rmail-summary-redo nil
diff --git a/lisp/mail/sendmail.el b/lisp/mail/sendmail.el
index cd2115cb660..b2206461bb1 100644
--- a/lisp/mail/sendmail.el
+++ b/lisp/mail/sendmail.el
@@ -451,18 +451,19 @@ mail-font-lock-keywords
     (let* ((cite-chars "[>|}]")
 	   (cite-prefix "[:alpha:]")
 	   (cite-suffix (concat cite-prefix "0-9_.@-`'\"")))
-      (list '("^\\(To\\|Newsgroups\\):" . font-lock-function-name-face)
-	    '("^\\(B?Cc\\|Reply-To\\|Mail-\\(Reply\\|Followup\\)-To\\):" . font-l=
ock-keyword-face)
+      (list '("^\\(To\\|Newsgroups\\):" . 'font-lock-function-name-face)
+	    '("^\\(B?Cc\\|Reply-To\\|Mail-\\(Reply\\|Followup\\)-To\\):"
+              . 'font-lock-keyword-face)
 	    '("^\\(Subject:\\)[ \t]*\\(.+\\)?"
-	      (1 font-lock-comment-face)
-;;	      (2 font-lock-type-face nil t)
+	      (1 'font-lock-comment-face)
+;;	      (2 'font-lock-type-face nil t)
 	      )
 	    ;; Use EVAL to delay in case `mail-header-separator' gets changed.
 	    '(eval .
 	      (let ((separator (if (zerop (length mail-header-separator))
 				   " \\`\\' "
 				 (regexp-quote mail-header-separator))))
-		(cons (concat "^" separator "$") 'font-lock-warning-face)))
+		(cons (concat "^" separator "$") ''font-lock-warning-face)))
 	    ;; Use MATCH-ANCHORED to effectively anchor the regexp left side.
 	    `(,cite-chars
 	      (,(concat "\\=3D[ \t]*"
@@ -470,10 +471,10 @@ mail-font-lock-keywords
 			"\\(" cite-chars "[ \t]*\\)\\)+\\)"
 			"\\(.*\\)")
 	       (beginning-of-line) (end-of-line)
-	       (1 font-lock-comment-delimiter-face nil t)
-	       (5 font-lock-comment-face nil t)))
+	       (1 'font-lock-comment-delimiter-face nil t)
+	       (5 'font-lock-comment-face nil t)))
 	    '("^\\(X-[A-Za-z0-9-]+\\|In-Reply-To\\):.*\\(\n[ \t]+.*\\)*$"
-	      . font-lock-string-face))))
+	      . 'font-lock-string-face))))
   "Additional expressions to highlight in Mail mode.")
=20
 
diff --git a/lisp/mh-e/mh-show.el b/lisp/mh-e/mh-show.el
index 39d56c71249..5d5cac49d42 100644
--- a/lisp/mh-e/mh-show.el
+++ b/lisp/mh-e/mh-show.el
@@ -800,8 +800,8 @@ mh-show-font-lock-keywords-with-cite
                   "\\(" cite-chars "[ \t]*\\)\\)+"
                   "\\(.*\\)")
          (beginning-of-line) (end-of-line)
-         (2 font-lock-constant-face nil t)
-         (4 font-lock-comment-face nil t))))))
+         (2 'font-lock-constant-face nil t)
+         (4 'font-lock-comment-face nil t))))))
   "Additional expressions to highlight in MH-Show buffers.")
=20
 ;;;###mh-autoload
diff --git a/lisp/net/dig.el b/lisp/net/dig.el
index 607a5c41a6b..547a075eff3 100644
--- a/lisp/net/dig.el
+++ b/lisp/net/dig.el
@@ -52,10 +52,10 @@ dig-dns-server
 		 string))
=20
 (defcustom dig-font-lock-keywords
-  '(("^;; [A-Z]+ SECTION:" 0 font-lock-keyword-face)
-    ("^;;.*" 0 font-lock-comment-face)
-    ("^; <<>>.*" 0 font-lock-type-face)
-    ("^;.*" 0 font-lock-function-name-face))
+  '(("^;; [A-Z]+ SECTION:" 0 'font-lock-keyword-face)
+    ("^;;.*" 0 'font-lock-comment-face)
+    ("^; <<>>.*" 0 'font-lock-type-face)
+    ("^;.*" 0 'font-lock-function-name-face))
   "Default expressions to highlight in dig mode."
   :type 'sexp)
=20
diff --git a/lisp/net/mairix.el b/lisp/net/mairix.el
index 5eff8d0e500..a589e580996 100644
--- a/lisp/net/mairix.el
+++ b/lisp/net/mairix.el
@@ -761,17 +761,17 @@ mairix-searches-mode-map
=20
 (defvar mairix-searches-mode-font-lock-keywords
   '(("^\\([0-9]+\\)"
-     (1 font-lock-constant-face))
+     (1 'font-lock-constant-face))
     ("^[0-9 ]+\\(Name:\\) \\(.*\\)"
-     (1 font-lock-keyword-face) (2 font-lock-string-face))
+     (1 'font-lock-keyword-face) (2 'font-lock-string-face))
     ("^[ ]+\\(Query:\\) \\(.*\\) , "
-     (1 font-lock-keyword-face) (2 font-lock-string-face))
+     (1 'font-lock-keyword-face) (2 'font-lock-string-face))
     (", \\(Threads:\\) \\(.*\\)"
-     (1 font-lock-keyword-face) (2 font-lock-constant-face))
+     (1 'font-lock-keyword-face) (2 'font-lock-constant-face))
     ("^\\([A-Z].*\\)$"
-     (1 font-lock-comment-face))
+     (1 'font-lock-comment-face))
     ("^[ ]+\\(Folder:\\) \\(.*\\)"
-     (1 font-lock-keyword-face) (2 font-lock-string-face))))
+     (1 'font-lock-keyword-face) (2 'font-lock-string-face))))
=20
 (define-derived-mode mairix-searches-mode fundamental-mode "mairix-searche=
s"
   "Major mode for editing mairix searches."
diff --git a/lisp/net/net-utils.el b/lisp/net/net-utils.el
index dbe065564b6..25280e2b98b 100644
--- a/lisp/net/net-utils.el
+++ b/lisp/net/net-utils.el
@@ -223,15 +223,15 @@ network-connection-host
=20
 (defvar nslookup-font-lock-keywords
   (list
-   (list "^[A-Za-z0-9 _]+:" 0 'font-lock-type-face)
+   (list "^[A-Za-z0-9 _]+:" 0 ''font-lock-type-face)
    (list "\\<\\(SOA\\|NS\\|MX\\|A\\|CNAME\\)\\>"
-         1 'font-lock-keyword-face)
+         1 ''font-lock-keyword-face)
    ;; Dotted quads
    (list
     (mapconcat #'identity
                (make-list 4 "[0-9]+")
                "\\.")
-    0 'font-lock-variable-name-face)
+    0 ''font-lock-variable-name-face)
    ;; Host names
    (list
     (let ((host-expression "[-A-Za-z0-9]+"))
@@ -240,7 +240,7 @@ nslookup-font-lock-keywords
                   (make-list 2 host-expression)
                   "\\.")
        "\\(\\." host-expression "\\)*"))
-    0 'font-lock-variable-name-face))
+    0 ''font-lock-variable-name-face))
   "Expressions to font-lock for nslookup.")
=20
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
@@ -252,20 +252,20 @@ net-utils-font-lock-keywords
    ;; Dotted quads
    (list
     (mapconcat #'identity (make-list 4 "[0-9]+") "\\.")
-    0 'font-lock-variable-name-face)
+    0 ''font-lock-variable-name-face)
    ;; Simple rfc4291 addresses
    (list (concat
 	  "\\( \\([[:xdigit:]]+\\(:\\|::\\)\\)+[[:xdigit:]]+\\)"
 	  "\\|"
 	  "\\(::[[:xdigit:]]+\\)")
-    0 'font-lock-variable-name-face)
+    0 ''font-lock-variable-name-face)
    ;; Host names
    (list
     (let ((host-expression "[-A-Za-z0-9]+"))
       (concat
        (mapconcat #'identity (make-list 2 host-expression) "\\.")
        "\\(\\." host-expression "\\)*"))
-    0 'font-lock-variable-name-face))
+    0 ''font-lock-variable-name-face))
   "Expressions to font-lock for general network utilities.")
=20
 (define-derived-mode net-utils-mode special-mode "NetworkUtil"
diff --git a/lisp/net/snmp-mode.el b/lisp/net/snmp-mode.el
index ec6cd55f12f..4693aff7995 100644
--- a/lisp/net/snmp-mode.el
+++ b/lisp/net/snmp-mode.el
@@ -138,28 +138,28 @@ snmp-font-lock-keywords-1
   (list
    ;; OBJECT-TYPE, TRAP-TYPE, and OBJECT-IDENTIFIER macros
    '("^[ \t]*\\([a-z][-a-zA-Z0-9]+\\)[ \t]+\\(\\(MODULE-\\(COMPLIANCE\\|ID=
ENTITY\\)\\|OBJECT-\\(COMPLIANCE\\|GROUP\\|IDENTITY\\|TYPE\\)\\|TRAP-\\(GRO=
UP\\|TYPE\\)\\)\\|\\(OBJECT\\)[ \t]+\\(IDENTIFIER\\)[ \t]*::=3D\\)"
-     (1 font-lock-variable-name-face) (3 font-lock-keyword-face nil t)
-     (7 font-lock-keyword-face nil t) (8 font-lock-keyword-face nil t))
+     (1 'font-lock-variable-name-face) (3 'font-lock-keyword-face nil t)
+     (7 'font-lock-keyword-face nil t) (8 'font-lock-keyword-face nil t))
=20
    ;; DEFINITIONS clause
    '("^[ \t]*\\([A-Z][-a-zA-Z0-9]+\\)[ \t]+\\(DEFINITIONS\\)[ \t]*::=3D"
-     (1 font-lock-function-name-face) (2 font-lock-keyword-face))
+     (1 'font-lock-function-name-face) (2 'font-lock-keyword-face))
    )
   "Basic SNMP MIB mode expression highlighting.")
=20
 (defvar snmp-font-lock-keywords-2
   (append
    '(("ACCESS\\|BEGIN\\|DE\\(FVAL\\|SCRIPTION\\)\\|END\\|FROM\\|I\\(MPORTS=
\\|NDEX\\)\\|S\\(TATUS\\|YNTAX\\)"
-      (0 font-lock-keyword-face)))
+      (0 'font-lock-keyword-face)))
    snmp-font-lock-keywords-1)
   "Medium SNMP MIB mode expression highlighting.")
=20
 (defvar snmp-font-lock-keywords-3
   (append
    '(("\\([^\n]+\\)[ \t]+::=3D[ \t]+\\(SEQUENCE\\)[ \t]+{"
-      (1 font-lock-constant-face) (2 font-lock-keyword-face))
+      (1 'font-lock-constant-face) (2 'font-lock-keyword-face))
      ("::=3D[ \t]*{[ \t]*\\([a-z0-9].*[ \t]+\\)?\\([0-9]+\\)[ \t]*}"
-      (1 font-lock-constant-face nil t) (2 font-lock-variable-name-face)))
+      (1 'font-lock-constant-face nil t) (2 'font-lock-variable-name-face)=
))
    snmp-font-lock-keywords-2)
   "Gaudy SNMP MIB mode expression highlighting.")
=20
diff --git a/lisp/net/tramp-message.el b/lisp/net/tramp-message.el
index 7ae7408b745..cf30e1edfa7 100644
--- a/lisp/net/tramp-message.el
+++ b/lisp/net/tramp-message.el
@@ -123,7 +123,7 @@ tramp-debug-font-lock-keywords
   ;; the "KEYWORDS" part, so font-lock calls it to get the actual keywords!
   '(list
     (rx bol (regexp tramp-debug-outline-regexp) (+ nonl))
-    '(1 font-lock-warning-face t t)
+    '(1 'font-lock-warning-face t t)
     '(0 (outline-font-lock-face) keep t))
   "Used for highlighting Tramp debug buffers in `outline-mode'.")
=20
diff --git a/lisp/play/decipher.el b/lisp/play/decipher.el
index b26a5a80884..d67f3abc735 100644
--- a/lisp/play/decipher.el
+++ b/lisp/play/decipher.el
@@ -126,16 +126,16 @@ decipher-mode-hook
 ;;--------------------------------------------------------------------
=20
 (defvar decipher-font-lock-keywords
-  '(("^:.*"  . font-lock-keyword-face)
-    ("^>.*"  . font-lock-string-face)
-    ("^%!.*" . font-lock-constant-face)
-    ("^%.*"  . font-lock-comment-face)
+  '(("^:.*"  . 'font-lock-keyword-face)
+    ("^>.*"  . 'font-lock-string-face)
+    ("^%!.*" . 'font-lock-constant-face)
+    ("^%.*"  . 'font-lock-comment-face)
     ("\\`(\\([a-z]+\\) +\\([A-Z]+\\)"
-     (1 font-lock-string-face)
-     (2 font-lock-keyword-face))
+     (1 'font-lock-string-face)
+     (2 'font-lock-keyword-face))
     ("^)\\([A-Z ]+\\)\\([a-z ]+\\)"
-     (1 font-lock-keyword-face)
-     (2 font-lock-string-face)))
+     (1 'font-lock-keyword-face)
+     (2 'font-lock-string-face)))
   "Font Lock keywords for Decipher mode.")
=20
 (defvar-keymap decipher-mode-map
diff --git a/lisp/shell.el b/lisp/shell.el
index e0db85f637e..8f9c855061d 100644
--- a/lisp/shell.el
+++ b/lisp/shell.el
@@ -410,9 +410,9 @@ shell-mode-hook
   :group 'shell)
=20
 (defvar shell-font-lock-keywords
-  '(("[ \t]\\([+-][^ \t\n]+\\)" 1 font-lock-comment-face)
-    ("^[^ \t\n]+:.*" . font-lock-string-face)
-    ("^\\[[1-9][0-9]*\\]" . font-lock-string-face))
+  '(("[ \t]\\([+-][^ \t\n]+\\)" 1 'font-lock-comment-face)
+    ("^[^ \t\n]+:.*" . 'font-lock-string-face)
+    ("^\\[[1-9][0-9]*\\]" . 'font-lock-string-face))
   "Additional expressions to highlight in Shell mode.")
=20
 (defvar-local shell--start-prog nil
diff --git a/lisp/textmodes/bibtex-style.el b/lisp/textmodes/bibtex-style.el
index 8830ecd5369..996b56ca797 100644
--- a/lisp/textmodes/bibtex-style.el
+++ b/lisp/textmodes/bibtex-style.el
@@ -57,10 +57,10 @@ bibtex-style-functions
     "top$" "type$" "warning$" "while$" "width$" "write$"))
=20
 (defvar bibtex-style-font-lock-keywords
-  `((,(regexp-opt bibtex-style-commands 'words) . font-lock-keyword-face)
-    ("\\w+\\$" . font-lock-keyword-face)
+  `((,(regexp-opt bibtex-style-commands 'words) . 'font-lock-keyword-face)
+    ("\\w+\\$" . 'font-lock-keyword-face)
     ("\\<\\(FUNCTION\\|MACRO\\)\\s-+{\\([^}\n]+\\)}"
-     (2 font-lock-function-name-face))))
+     (2 'font-lock-function-name-face))))
=20
 ;;;###autoload
 (define-derived-mode bibtex-style-mode nil "BibStyle"
diff --git a/lisp/textmodes/bibtex.el b/lisp/textmodes/bibtex.el
index 470b20d8c77..178b6714025 100644
--- a/lisp/textmodes/bibtex.el
+++ b/lisp/textmodes/bibtex.el
@@ -1844,17 +1844,17 @@ bibtex-font-lock-syntactic-keywords
      1 '(11))))
=20
 (defvar bibtex-font-lock-keywords
-  `(("\\$[^$\n]+\\$" . font-lock-string-face) ; bug#50202
+  `(("\\$[^$\n]+\\$" . 'font-lock-string-face) ; bug#50202
     ;; entry type and reference key
     (,bibtex-any-entry-maybe-empty-head
-     (,bibtex-type-in-head font-lock-function-name-face)
-     (,bibtex-key-in-head font-lock-constant-face nil t))
+     (,bibtex-type-in-head 'font-lock-function-name-face)
+     (,bibtex-key-in-head 'font-lock-constant-face nil t))
     ;; optional field names (treated as comments)
     (,(concat "^[ \t]*\\(OPT" bibtex-field-name "\\)[ \t]*=3D")
-     1 font-lock-comment-face)
+     1 'font-lock-comment-face)
     ;; field names
     (,(concat "^[ \t]*\\(" bibtex-field-name "\\)[ \t]*=3D")
-     1 font-lock-variable-name-face)
+     1 'font-lock-variable-name-face)
     ;; url
     (bibtex-font-lock-url) (bibtex-font-lock-crossref)
     ;; cite
diff --git a/lisp/textmodes/less-css-mode.el b/lisp/textmodes/less-css-mode=
.el
index a1ea795df1a..4674740ba54 100644
--- a/lisp/textmodes/less-css-mode.el
+++ b/lisp/textmodes/less-css-mode.el
@@ -193,11 +193,11 @@ less-css-compile
 ;; - custom faces.
 (defconst less-css-font-lock-keywords
   '(;; Variables
-    ("@[a-z_-][a-z_0-9-]*" . font-lock-variable-name-face)
-    ("&" . font-lock-preprocessor-face)
+    ("@[a-z_-][a-z_0-9-]*" . 'font-lock-variable-name-face)
+    ("&" . 'font-lock-preprocessor-face)
     ;; Mixins
     ("\\(?:[ \t{;]\\|^\\)\\(\\.[a-z_-][a-z_0-9-]*\\)[ \t]*;" .
-     (1 font-lock-keyword-face))))
+     (1 'font-lock-keyword-face))))
=20
 (defvar less-css-mode-syntax-table
   (let ((st (make-syntax-table css-mode-syntax-table)))
diff --git a/lisp/textmodes/reftex-index.el b/lisp/textmodes/reftex-index.el
index 4b79cb9a180..84751f608dd 100644
--- a/lisp/textmodes/reftex-index.el
+++ b/lisp/textmodes/reftex-index.el
@@ -1166,25 +1166,25 @@ reftex-index-phrases-files
=20
 (defvar reftex-index-phrases-font-lock-keywords
   (list
-   (cons reftex-index-phrases-comment-regexp 'font-lock-comment-face)
+   (cons reftex-index-phrases-comment-regexp ''font-lock-comment-face)
    (list reftex-index-phrases-macrodef-regexp
-         '(1 font-lock-type-face)
-         '(2 font-lock-keyword-face)
+         '(1 'font-lock-type-face)
+         '(2 'font-lock-keyword-face)
          '(3 'secondary-selection)
-         '(4 font-lock-function-name-face)
+         '(4 'font-lock-function-name-face)
          '(5 'secondary-selection)
-         '(6 font-lock-string-face))
+         '(6 'font-lock-string-face))
    (list reftex-index-phrases-phrase-regexp1
-         '(1 font-lock-keyword-face)
+         '(1 'font-lock-keyword-face)
          '(2 'secondary-selection)
-         '(3 font-lock-string-face)
+         '(3 'font-lock-string-face)
          '(4 'secondary-selection))
    (list reftex-index-phrases-phrase-regexp2
-         '(1 font-lock-keyword-face)
+         '(1 'font-lock-keyword-face)
          '(2 'secondary-selection)
-         '(3 font-lock-string-face)
+         '(3 'font-lock-string-face)
          '(4 'secondary-selection)
-         '(5 font-lock-function-name-face))
+         '(5 'font-lock-function-name-face))
    '("^\t$" . 'secondary-selection))
   "Font lock keywords for `reftex-index-phrases-mode'.")
 (defvar reftex-index-phrases-font-lock-defaults
diff --git a/lisp/textmodes/sgml-mode.el b/lisp/textmodes/sgml-mode.el
index 19252b1db60..89b5d7127a0 100644
--- a/lisp/textmodes/sgml-mode.el
+++ b/lisp/textmodes/sgml-mode.el
@@ -333,7 +333,7 @@ sgml-font-lock-keywords-1
     (,(concat "\\(?:^\\|[ \t]\\)\\(" sgml-namespace-re "\\)\\(?::\\("
 	      sgml-name-re "\\)\\)?=3D[\"']")
      (1 (if (match-end 2) 'sgml-namespace 'font-lock-variable-name-face))
-     (2 font-lock-variable-name-face nil t))
+     (2 'font-lock-variable-name-face nil t))
     (,(concat "[&%]" sgml-name-re ";?") 0 'font-lock-variable-name-face)))
=20
 (defconst sgml-font-lock-keywords-2
diff --git a/lisp/textmodes/tex-mode.el b/lisp/textmodes/tex-mode.el
index 1c113df9342..f705acd5d34 100644
--- a/lisp/textmodes/tex-mode.el
+++ b/lisp/textmodes/tex-mode.el
@@ -455,21 +455,21 @@ tex-current-defun-name
 ;(defvar tex-font-lock-keywords
 ;  ;; Regexps updated with help from Ulrik Dickow <dickow@HIDDEN>.
 ;  '(("\\\\\\(begin\\|end\\|newcommand\\){\\([a-zA-Z0-9\\*]+\\)}"
-;     2 font-lock-function-name-face)
+;     2 'font-lock-function-name-face)
 ;    ("\\\\\\(cite\\|label\\|pageref\\|ref\\){\\([^} \t\n]+\\)}"
-;     2 font-lock-constant-face)
+;     2 'font-lock-constant-face)
 ;    ;; It seems a bit dubious to use `bold' and `italic' faces since we m=
ight
 ;    ;; not be able to display those fonts.
 ;    ("{\\\\bf\\([^}]+\\)}" 1 'bold keep)
 ;    ("{\\\\\\(em\\|it\\|sl\\)\\([^}]+\\)}" 2 'italic keep)
-;    ("\\\\\\([a-zA-Z@]+\\|.\\)" . font-lock-keyword-face)
-;    ("^[ \t\n]*\\\\def[\\@]\\(\\w+\\)" 1 font-lock-function-name-face kee=
p))
+;    ("\\\\\\([a-zA-Z@]+\\|.\\)" . 'font-lock-keyword-face)
+;    ("^[ \t\n]*\\\\def[\\@]\\(\\w+\\)" 1 'font-lock-function-name-face ke=
ep))
 ;  ;; Rewritten and extended for LaTeX2e by Ulrik Dickow <dickow@HIDDEN>.
 ;  '(("\\\\\\(begin\\|end\\|newcommand\\){\\([a-zA-Z0-9\\*]+\\)}"
-;     2 font-lock-function-name-face)
+;     2 'font-lock-function-name-face)
 ;    ("\\\\\\(cite\\|label\\|pageref\\|ref\\){\\([^} \t\n]+\\)}"
-;     2 font-lock-constant-face)
-;    ("^[ \t]*\\\\def\\\\\\(\\(\\w\\|@\\)+\\)" 1 font-lock-function-name-f=
ace)
+;     2 'font-lock-constant-face)
+;    ("^[ \t]*\\\\def\\\\\\(\\(\\w\\|@\\)+\\)" 1 'font-lock-function-name-=
face)
 ;    "\\\\\\([a-zA-Z@]+\\|.\\)"
 ;    ;; It seems a bit dubious to use `bold' and `italic' faces since we m=
ight
 ;    ;; not be able to display those fonts.
@@ -547,16 +547,16 @@ tex-font-lock-keywords-1
          ;; Using `keep' works around this un-intuitive behavior as well
          ;; as improves the behavior in the very rare case where you do
          ;; have a comment in ARG.
-         3 font-lock-function-name-face keep)
+         3 'font-lock-function-name-face keep)
         (,(concat slash "\\(?:provide\\|\\(?:re\\)?new\\)command\\** *\\(\=
\\\[A-Za-z@]+\\)")
-         1 font-lock-function-name-face keep)
+         1 'font-lock-function-name-face keep)
         ;; Variable args.
-        (,(concat slash variables " *" arg) 2 font-lock-variable-name-face)
+        (,(concat slash variables " *" arg) 2 'font-lock-variable-name-fac=
e)
         ;; Include args.
-        (,(concat slash includes opt arg) 3 font-lock-builtin-face)
+        (,(concat slash includes opt arg) 3 'font-lock-builtin-face)
         ;; Definitions.  I think.
         ("^[ \t]*\\\\def *\\\\\\(\\(\\w\\|@\\)+\\)"
-	 1 font-lock-function-name-face))))
+	 1 'font-lock-function-name-face))))
   "Subdued expressions to highlight in TeX modes.")
=20
 (defun tex-font-lock-append-prop (prop)
@@ -605,7 +605,7 @@ tex-font-lock-keywords-2
        (list
 	;;
 	;; Citation args.
-	(list (concat slash citations opt arg) 3 'font-lock-constant-face)
+	(list (concat slash citations opt arg) 3 ''font-lock-constant-face)
 	;;
         ;; Text between `` quotes ''.
         (list (concat (regexp-opt '("``" "\"<" "\"`" "<<" "=C2=AB") t)
@@ -616,7 +616,7 @@ tex-font-lock-keywords-2
               '(4 'font-lock-keyword-face))
 	;;
 	;; Command names, special and general.
-	(cons (concat slash specials-1) 'font-lock-warning-face)
+	(cons (concat slash specials-1) ''font-lock-warning-face)
 	(list (concat "\\(" slash specials-2 "\\)\\([^a-zA-Z@]\\|\\'\\)")
 	      '(1 'font-lock-warning-face))
 	(concat slash general)
@@ -3088,7 +3088,7 @@ doctex-font-lock-syntactic-face-function
=20
 (defvar doctex-font-lock-keywords
   (append tex-font-lock-keywords
-	  '(("^%<[^>]*>" (0 font-lock-preprocessor-face t)))))
+	  '(("^%<[^>]*>" (0 'font-lock-preprocessor-face t)))))
=20
 ;;;###autoload
 (define-derived-mode doctex-mode latex-mode "DocTeX"
diff --git a/lisp/textmodes/texinfo.el b/lisp/textmodes/texinfo.el
index c7b5e60f0c2..41af5fa048e 100644
--- a/lisp/textmodes/texinfo.el
+++ b/lisp/textmodes/texinfo.el
@@ -171,25 +171,25 @@ texinfo-font-lock-keywords
   `(;; All but the first had an OVERRIDE of t.
     ;; It didn't seem to be any better, and it's slower--simon.
     ;; Robert J. Chassell <bob@HIDDEN> says remove this line.
-    ;;("\\$\\([^$]*\\)\\$" 1 font-lock-string-face t)
-    ("@\\([a-zA-Z]+\\|[^ \t\n]\\)" 1 font-lock-keyword-face) ;commands
-    ("^\\*\\([^\n:]*\\)" 1 font-lock-function-name-face t) ;menu items
+    ;;("\\$\\([^$]*\\)\\$" 1 'font-lock-string-face t)
+    ("@\\([a-zA-Z]+\\|[^ \t\n]\\)" 1 'font-lock-keyword-face) ;commands
+    ("^\\*\\([^\n:]*\\)" 1 'font-lock-function-name-face t) ;menu items
     ("@\\(emph\\|i\\|sc\\){\\([^}]+\\)" 2 'italic)
     ("@\\(strong\\|b\\){\\([^}]+\\)" 2 'bold)
-    ("@\\(kbd\\|key\\|url\\|uref\\){\\([^}]+\\)" 2 font-lock-string-face)
+    ("@\\(kbd\\|key\\|url\\|uref\\){\\([^}]+\\)" 2 'font-lock-string-face)
     ;; The following two groups have an OVERRIDE of `keep' because
     ;; their arguments frequently include a @@, and we don't want that
     ;; to overwrite the normal fontification of the argument.
-    ("@\\(file\\|email\\){\\([^}]+\\)" 2 font-lock-string-face keep)
+    ("@\\(file\\|email\\){\\([^}]+\\)" 2 'font-lock-string-face keep)
     ("@\\(samp\\|code\\|var\\|env\\|command\\|option\\){\\([^}]+\\)"
-     2 font-lock-variable-name-face keep)
+     2 'font-lock-variable-name-face keep)
     ;; @math allows nested braces like @math{2^{12}}
-    ("@math{\\([^{}]*{?[^{}]*}?[^{}]*\\)}" 1 font-lock-variable-name-face)
+    ("@math{\\([^{}]*{?[^{}]*}?[^{}]*\\)}" 1 'font-lock-variable-name-face)
     ("@\\(cite\\|x?ref\\|pxref\\|dfn\\|inforef\\){\\([^}]+\\)"
-     2 font-lock-constant-face)
-    ("@\\(anchor\\){\\([^}]+\\)" 2 font-lock-type-face)
-    ("@\\(dmn\\|acronym\\|value\\){\\([^}]+\\)" 2 font-lock-builtin-face)
-    ("@\\(end\\|itemx?\\) +\\(.+\\)" 2 font-lock-keyword-face keep)
+     2 'font-lock-constant-face)
+    ("@\\(anchor\\){\\([^}]+\\)" 2 'font-lock-type-face)
+    ("@\\(dmn\\|acronym\\|value\\){\\([^}]+\\)" 2 'font-lock-builtin-face)
+    ("@\\(end\\|itemx?\\) +\\(.+\\)" 2 'font-lock-keyword-face keep)
     ;; (,texinfo-environment-regexp
     ;;  1 (texinfo-clone-environment (match-beginning 1) (match-end 1)) ke=
ep)
     (,(concat "^@" (regexp-opt (mapcar #'car texinfo-section-list) t)
diff --git a/lisp/use-package/use-package-core.el b/lisp/use-package/use-pa=
ckage-core.el
index 325a940d8fd..1a190ff5d74 100644
--- a/lisp/use-package/use-package-core.el
+++ b/lisp/use-package/use-package-core.el
@@ -361,8 +361,8 @@ use-package-enable-imenu-support
 ;; Redundant in Emacs 26 or later, which already highlights macro names.
 (defconst use-package-font-lock-keywords
   '(("(\\(use-package\\)\\_>[ \t']*\\(\\(?:\\sw\\|\\s_\\)+\\)?"
-     (1 font-lock-keyword-face)
-     (2 font-lock-constant-face nil t))))
+     (1 'font-lock-keyword-face)
+     (2 'font-lock-constant-face nil t))))
 (make-obsolete-variable 'use-package-font-lock-keywords
                         'lisp-el-font-lock-keywords "30.1")
 (when (< emacs-major-version 26)
diff --git a/lisp/vc/cvs-status.el b/lisp/vc/cvs-status.el
index b1de917075d..8420f0df288 100644
--- a/lisp/vc/cvs-status.el
+++ b/lisp/vc/cvs-status.el
@@ -70,12 +70,12 @@ cvs-status-font-lock-keywords
       (save-excursion (re-search-forward "^\n" nil 'move) (point))
       (progn (re-search-backward cvs-status-tags-leader-re nil t)
 	     (forward-line 1))
-      (0 font-lock-comment-face))
+      (0 'font-lock-comment-face))
      (,cvs-status-tag-re
       (save-excursion (re-search-forward "^\n" nil 'move) (point))
       (progn (re-search-backward cvs-status-tags-leader-re nil t)
 	     (forward-line 1))
-      (1 font-lock-function-name-face)))))
+      (1 'font-lock-function-name-face)))))
 (defconst cvs-status-font-lock-defaults
   '(cvs-status-font-lock-keywords t nil nil nil (font-lock-multiline . t)))
=20
diff --git a/test/lisp/emacs-lisp/faceup-resources/faceup-test-mode.el b/te=
st/lisp/emacs-lisp/faceup-resources/faceup-test-mode.el
index 4d164db6141..c3aa5a83286 100644
--- a/test/lisp/emacs-lisp/faceup-resources/faceup-test-mode.el
+++ b/test/lisp/emacs-lisp/faceup-resources/faceup-test-mode.el
@@ -45,7 +45,7 @@ faceup-test-font-lock-keywords
           (add-text-properties (match-beginning 0)
                                (match-end 0)
                                '(help-echo "Balloon tip: Fly smoothly!"))
-          font-lock-warning-face))))
+          'font-lock-warning-face))))
   "Highlight rules for `faceup-test-mode'.")
=20
 (defun faceup-test-syntax-propertize (start end)
--=20
2.56.0


--=-=-=--




Acknowledgement sent to Ulrich Müller <ulm@HIDDEN>:
New bug report received and forwarded. Copy sent to spwhitton@HIDDEN, bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to spwhitton@HIDDEN, bug-gnu-emacs@HIDDEN:
bug#82034; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 12 Oct 2026 06:15:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.