changeset 20953:f3f9df46d008

Changed font-lock-reference-face to font-lock-constant-face.
author Simon Marshall <simon@gnu.org>
date Fri, 20 Feb 1998 14:58:27 +0000
parents adcb58a1c0f3
children 19094d61a428
files lisp/add-log.el lisp/dired.el lisp/emacs-lisp/checkdoc.el lisp/help.el lisp/ielm.el lisp/mail/rmail.el lisp/mail/sendmail.el lisp/play/decipher.el lisp/progmodes/ada-mode.el lisp/progmodes/awk-mode.el lisp/progmodes/cperl-mode.el lisp/progmodes/f90.el lisp/progmodes/fortran.el lisp/progmodes/icon.el lisp/progmodes/make-mode.el lisp/progmodes/meta-mode.el lisp/progmodes/modula2.el lisp/progmodes/octave-mod.el lisp/progmodes/pascal.el lisp/progmodes/perl-mode.el lisp/progmodes/scheme.el lisp/progmodes/simula.el lisp/ps-print.el lisp/textmodes/bibtex.el lisp/textmodes/outline.el lisp/textmodes/reftex.el
diffstat 26 files changed, 58 insertions(+), 56 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/add-log.el	Fri Feb 20 14:55:48 1998 +0000
+++ b/lisp/add-log.el	Fri Feb 20 14:58:27 1998 +0000
@@ -106,7 +106,7 @@
     ("^\\sw.........[0-9: ]*"
      (0 font-lock-string-face)
      ("\\([^<]+\\)<\\([A-Za-z0-9_.-]+@[A-Za-z0-9_.-]+\\)>" nil nil
-      (1 font-lock-reference-face)
+      (1 font-lock-constant-face)
       (2 font-lock-variable-name-face)))
     ;;
     ;; File names.
--- a/lisp/dired.el	Fri Feb 20 14:55:48 1998 +0000
+++ b/lisp/dired.el	Fri Feb 20 14:58:27 1998 +0000
@@ -259,7 +259,7 @@
    ;;
    ;; Dired marks.
    (list dired-re-mark
-	 '(0 font-lock-reference-face)
+	 '(0 font-lock-constant-face)
 	 '(".+" (dired-move-to-filename) nil (0 font-lock-warning-face)))
    ;; People who are paranoid about security would consider this more
    ;; important than other things such as whether it is a directory.
--- a/lisp/emacs-lisp/checkdoc.el	Fri Feb 20 14:55:48 1998 +0000
+++ b/lisp/emacs-lisp/checkdoc.el	Fri Feb 20 14:58:27 1998 +0000
@@ -1680,7 +1680,7 @@
 (defvar checkdoc-output-font-lock-keywords
   '(("\\(\\w+\\.el\\):" 1 font-lock-function-name-face)
     ("style check: \\(\\w+\\)" 1 font-lock-comment-face)
-    ("^\\([0-9]+\\):" 1 font-lock-reference-face))
+    ("^\\([0-9]+\\):" 1 font-lock-constant-face))
   "Keywords used to highlight a checkdoc diagnostic buffer.")
 
 (defvar checkdoc-output-mode-map nil
--- a/lisp/help.el	Fri Feb 20 14:55:48 1998 +0000
+++ b/lisp/help.el	Fri Feb 20 14:58:27 1998 +0000
@@ -104,10 +104,10 @@
        ;;
        ;; Words inside `' which tend to be symbol names.
        (list (concat "`\\(" sym-char sym-char "+\\)'")
-	     1 'font-lock-reference-face t)
+	     1 'font-lock-constant-face t)
        ;;
-       ;; CLisp `:' keywords as references.
-       (list (concat "\\<:" sym-char "+\\>") 0 'font-lock-reference-face t))))
+       ;; CLisp `:' keywords as builtins.
+       (list (concat "\\<:" sym-char "+\\>") 0 'font-lock-builtin-face t))))
   "Default expressions to highlight in Help mode.")
 
 (defun help-mode ()
--- a/lisp/ielm.el	Fri Feb 20 14:55:48 1998 +0000
+++ b/lisp/ielm.el	Fri Feb 20 14:58:27 1998 +0000
@@ -130,7 +130,9 @@
 (defvar ielm-font-lock-keywords
   (list 
    (cons (concat "^" (regexp-quote ielm-prompt)) 'font-lock-keyword-face)
-   '("\\(^\\*\\*\\*[^*]+\\*\\*\\*\\)\\(.*$\\)" (1 font-lock-comment-face) (2 font-lock-reference-face)))
+   '("\\(^\\*\\*\\*[^*]+\\*\\*\\*\\)\\(.*$\\)"
+     (1 font-lock-comment-face)
+     (2 font-lock-constant-face)))
   "Additional expressions to highlight in ielm buffers.")
 	
 ;;; Completion stuff
--- a/lisp/mail/rmail.el	Fri Feb 20 14:55:48 1998 +0000
+++ b/lisp/mail/rmail.el	Fri Feb 20 14:58:27 1998 +0000
@@ -286,7 +286,7 @@
 			"\\(" cite-chars "[ \t]*\\)\\)+"
 			"\\(.*\\)")
 	       (beginning-of-line) (end-of-line)
-	       (2 font-lock-reference-face nil t)
+	       (2 font-lock-constant-face nil t)
 	       (4 font-lock-comment-face nil t)))
 	    '("^\\(X-[A-Za-z0-9-]+\\|In-reply-to\\|Date\\):.*$"
 	      . font-lock-string-face))))
--- a/lisp/mail/sendmail.el	Fri Feb 20 14:55:48 1998 +0000
+++ b/lisp/mail/sendmail.el	Fri Feb 20 14:58:27 1998 +0000
@@ -239,7 +239,7 @@
 			"\\(" cite-chars "[ \t]*\\)\\)+"
 			"\\(.*\\)")
 	       (beginning-of-line) (end-of-line)
-	       (2 font-lock-reference-face nil t)
+	       (2 font-lock-constant-face nil t)
 	       (4 font-lock-comment-face nil t)))
 	    '("^\\(X-[A-Za-z0-9-]+\\|In-reply-to\\):.*"
 	      . font-lock-string-face))))
--- a/lisp/play/decipher.el	Fri Feb 20 14:55:48 1998 +0000
+++ b/lisp/play/decipher.el	Fri Feb 20 14:58:27 1998 +0000
@@ -116,7 +116,7 @@
 (defvar decipher-font-lock-keywords
   '(("^:.*"  . font-lock-keyword-face)
     ("^>.*"  . font-lock-string-face)
-    ("^%!.*" . font-lock-reference-face)
+    ("^%!.*" . font-lock-constant-face)
     ("^%.*"  . font-lock-comment-face)
     ("\\`(\\([a-z]+\\) +\\([A-Z]+\\)"
      (1 font-lock-string-face)
@@ -128,7 +128,7 @@
 
 Ciphertext uses `font-lock-keyword-face', plaintext uses
 `font-lock-string-face', comments use `font-lock-comment-face', and
-checkpoints use `font-lock-reference-face'.  You can customize the
+checkpoints use `font-lock-constant-face'.  You can customize the
 display by changing these variables.  For best results, I recommend
 that all faces use the same background color.
 
--- a/lisp/progmodes/ada-mode.el	Fri Feb 20 14:55:48 1998 +0000
+++ b/lisp/progmodes/ada-mode.el	Fri Feb 20 14:58:27 1998 +0000
@@ -3797,10 +3797,10 @@
     (list (concat "\\<\\(goto\\|raise\\|use\\|with\\)\\>" ; "when" removed
                   ; "[ \t]*\\(\\sw+\\(\\.\\sw*\\)*\\)?") ; RE
                   "[ \t]*\\([a-zA-Z0-9_\\.\\|, ]+\\)\\W")
-          '(1 font-lock-keyword-face) '(2 font-lock-reference-face nil t))
+          '(1 font-lock-keyword-face) '(2 font-lock-constant-face nil t))
     ;;
     ;; Goto tags.
-    '("<<\\(\\sw+\\)>>" 1 font-lock-reference-face)
+    '("<<\\(\\sw+\\)>>" 1 font-lock-constant-face)
     ))
   "Gaudy level highlighting for Ada mode.")
 
--- a/lisp/progmodes/awk-mode.el	Fri Feb 20 14:55:48 1998 +0000
+++ b/lisp/progmodes/awk-mode.el	Fri Feb 20 14:58:27 1998 +0000
@@ -103,7 +103,7 @@
      (cons (mapconcat 'identity
 		      '("&&" "||" "<=" "<" ">=" ">" "==" "!=" "!~" "~")
 		      "\\|")
-	   'font-lock-reference-face)
+	   'font-lock-constant-face)
      ))
  "Default expressions to highlight in AWK mode.")
 
--- a/lisp/progmodes/cperl-mode.el	Fri Feb 20 14:55:48 1998 +0000
+++ b/lisp/progmodes/cperl-mode.el	Fri Feb 20 14:58:27 1998 +0000
@@ -2324,7 +2324,7 @@
 		  (setq tag (buffer-substring b1 e1)
 			qtag (regexp-quote tag))
 		  (cond (cperl-pod-here-fontify 
-			 (put-text-property b1 e1 'face font-lock-reference-face)
+			 (put-text-property b1 e1 'face font-lock-constant-face)
 			 (cperl-put-do-not-fontify b1 e1)))
 		  (forward-line)
 		  (setq b (point))
@@ -2332,7 +2332,7 @@
 			 (if cperl-pod-here-fontify 
 			     (progn
 			       (put-text-property (match-beginning 0) (match-end 0) 
-						  'face font-lock-reference-face)
+						  'face font-lock-constant-face)
 			       (cperl-put-do-not-fontify b (match-end 0))
 			       ;;(put-text-property (max (point-min) (1- b))
 			       ;;		      (min (point-max)
@@ -2628,7 +2628,7 @@
 ;;;	      (setq tag (buffer-substring b1 e1)
 ;;;		    qtag (regexp-quote tag))
 ;;;	      (cond (cperl-pod-here-fontify 
-;;;		     (put-text-property b1 e1 'face font-lock-reference-face)
+;;;		     (put-text-property b1 e1 'face font-lock-constant-face)
 ;;;		     (cperl-put-do-not-fontify b1 e1)))
 ;;;	      (forward-line)
 ;;;	      (setq b (point))
@@ -2636,7 +2636,7 @@
 ;;;		     (if cperl-pod-here-fontify 
 ;;;			 (progn
 ;;;			   (put-text-property (match-beginning 0) (match-end 0) 
-;;;					      'face font-lock-reference-face)
+;;;					      'face font-lock-constant-face)
 ;;;			   (cperl-put-do-not-fontify b (match-end 0))
 ;;;			   ;;(put-text-property (max (point-min) (1- b))
 ;;;			   ;;		      (min (point-max)
@@ -3294,9 +3294,9 @@
 	    '("[ \t{,(]\\(-?[a-zA-Z0-9_:]+\\)[ \t]*=>" 1
 	      font-lock-string-face t)
 	    '("^[ \t]*\\([a-zA-Z0-9_]+[ \t]*:\\)[ \t]*\\($\\|{\\|\\<\\(until\\|while\\|for\\(each\\)?\\|do\\)\\>\\)" 1 
-	      font-lock-reference-face) ; labels
+	      font-lock-constant-face) ; labels
 	    '("\\<\\(continue\\|next\\|last\\|redo\\|goto\\)\\>[ \t]+\\([a-zA-Z0-9_:]+\\)" ; labels as targets
-	      2 font-lock-reference-face)
+	      2 font-lock-constant-face)
 	    (cond ((featurep 'font-lock-extra)
 		   '("^[ \t]*\\(my\\|local\\)[ \t]*\\(([ \t]*\\)?\\([$@%*][a-zA-Z0-9_:]+\\)\\([ \t]*,\\)?"
 		     (3 font-lock-variable-name-face)
@@ -3394,7 +3394,7 @@
 		    nil
 		    [nil		nil		t		t	t]
 		    )
-	      (list 'font-lock-reference-face
+	      (list 'font-lock-constant-face
 		    ["CadetBlue"	"Aquamarine" 	"Gray50"	"LightGray"]
 		    nil
 		    [nil		nil		t		t	t]
@@ -3432,7 +3432,7 @@
 		      ((fboundp 'valid-color-name-p) 'valid-color-name-p)
 		      ;; XEmacs 19.11
 		      (t 'x-valid-color-name-p))))
-	  (defvar font-lock-reference-face 'font-lock-reference-face)
+	  (defvar font-lock-constant-face 'font-lock-constant-face)
 	  (defvar font-lock-variable-name-face 'font-lock-variable-name-face)
 	  (or (boundp 'font-lock-type-face)
 	      (defconst font-lock-type-face
@@ -3572,8 +3572,8 @@
 	       (t (set-face-background 'font-lock-emphasized-face "gray90"))))
 	    (if (is-face 'font-lock-variable-name-face) nil
 	      (copy-face 'italic 'font-lock-variable-name-face))
-	    (if (is-face 'font-lock-reference-face) nil
-	      (copy-face 'italic 'font-lock-reference-face))))
+	    (if (is-face 'font-lock-constant-face) nil
+	      (copy-face 'italic 'font-lock-constant-face))))
 	(setq cperl-faces-init t))
     (error nil)))
 
--- a/lisp/progmodes/f90.el	Fri Feb 20 14:55:48 1998 +0000
+++ b/lisp/progmodes/f90.el	Fri Feb 20 14:58:27 1998 +0000
@@ -388,21 +388,21 @@
 	 (1 font-lock-type-face) (4 font-lock-variable-name-face))
        ;; do, if, select, where, and forall constructs
        '("\\<\\(end[ \t]*\\(do\\|if\\|select\\|forall\\|where\\)\\)\\>\\([ \t]+\\(\\sw+\\)\\)?"
-	 (1 font-lock-keyword-face) (3 font-lock-reference-face nil t))
+	 (1 font-lock-keyword-face) (3 font-lock-constant-face nil t))
        '("^[ \t0-9]*\\(\\(\\sw+\\)[ \t]*:[ \t]*\\)?\\(\\(if\\|do\\([ \t]*while\\)?\\|select[ \t]*case\\|where\\|forall\\)\\)\\>"
-	 (2 font-lock-reference-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\\)\\|logical\\|type[ \t]*(\\sw+)\\|none\\)\\>" (1 font-lock-keyword-face) (2 font-lock-type-face))
-       '("\\<\\(namelist\\|common\\)[ \t]*\/\\(\\sw+\\)?\/" (1 font-lock-keyword-face) (2 font-lock-reference-face nil t))
+       '("\\<\\(namelist\\|common\\)[ \t]*\/\\(\\sw+\\)?\/" (1 font-lock-keyword-face) (2 font-lock-constant-face nil t))
        "\\<else\\([ \t]*if\\|where\\)?\\>"
        "\\<\\(then\\|continue\\|format\\|include\\|stop\\|return\\)\\>"
        '("\\<\\(exit\\|cycle\\)[ \t]*\\(\\sw+\\)?\\>" 
-	 (1 font-lock-keyword-face) (2 font-lock-reference-face nil t))
+	 (1 font-lock-keyword-face) (2 font-lock-constant-face nil t))
        '("\\<\\(case\\)[ \t]*\\(default\\|(\\)" . 1)
        '("\\<\\(do\\|go *to\\)\\>[ \t]*\\([0-9]+\\)"
-	 (1 font-lock-keyword-face) (2 font-lock-reference-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-reference-face t))))
+       '("^[ \t]*\\([0-9]+\\)[ \t]*[a-z]+" (1 font-lock-constant-face t))))
   "Highlights declarations, do-loops and other constructions")
 
 (defvar f90-font-lock-keywords-3
--- a/lisp/progmodes/fortran.el	Fri Feb 20 14:55:48 1998 +0000
+++ b/lisp/progmodes/fortran.el	Fri Feb 20 14:58:27 1998 +0000
@@ -326,8 +326,8 @@
      ;; Fontify do/goto keywords and targets, and goto tags.
      (list "\\<\\(do\\|go *to\\)\\>[ \t]*\\([0-9]+\\)?"
 	   '(1 font-lock-keyword-face)
-	   '(2 font-lock-reference-face nil t))
-     (cons "^ *\\([0-9]+\\)" 'font-lock-reference-face))))
+	   '(2 font-lock-constant-face nil t))
+     (cons "^ *\\([0-9]+\\)" 'font-lock-constant-face))))
 
   (setq fortran-font-lock-keywords-3
    (append
@@ -354,7 +354,7 @@
      ;;
      ;; Fontify goto-like `err=label'/`end=label' in read/write statements.
      '(", *\\(e\\(nd\\|rr\\)\\)\\> *\\(= *\\([0-9]+\\)\\)?"
-       (1 font-lock-keyword-face) (4 font-lock-reference-face nil t))
+       (1 font-lock-keyword-face) (4 font-lock-constant-face nil t))
      ;;
      ;; Highlight standard continuation character and in a TAB-formatted line.
      '("^     \\([^ 0]\\)" 1 font-lock-string-face)
--- a/lisp/progmodes/icon.el	Fri Feb 20 14:55:48 1998 +0000
+++ b/lisp/progmodes/icon.el	Fri Feb 20 14:58:27 1998 +0000
@@ -659,7 +659,7 @@
 	  "&progname" "&random" "&rdrag" "&regions" "&resize" "&row" 
 	  "&rpress" "&rrelease" "&shift" "&source" "&storage" "&subject" 
 	  "&time" "&trace" "&ucase" "&version" "&window" "&x" "&y") t)
-       'font-lock-reference-face)
+       'font-lock-constant-face)
       (cons      ;; global local static declarations and link files
        (concat 
 	"^[ \t]*"
--- a/lisp/progmodes/make-mode.el	Fri Feb 20 14:55:48 1998 +0000
+++ b/lisp/progmodes/make-mode.el	Fri Feb 20 14:58:27 1998 +0000
@@ -263,7 +263,7 @@
    (list makefile-dependency-regex 1 'font-lock-function-name-face)
    ;;
    ;; Variable references even in targets/strings/comments:
-   '("\\$[({]\\([-a-zA-Z0-9_.]+\\)[}):]" 1 font-lock-reference-face prepend)
+   '("\\$[({]\\([-a-zA-Z0-9_.]+\\)[}):]" 1 font-lock-constant-face prepend)
 
    ;; Highlight lines that contain just whitespace.
    ;; They can cause trouble, especially if they start with a tab.
--- a/lisp/progmodes/meta-mode.el	Fri Feb 20 14:55:48 1998 +0000
+++ b/lisp/progmodes/meta-mode.el	Fri Feb 20 14:58:27 1998 +0000
@@ -245,10 +245,10 @@
          (cons (concat "\\<" input-keywords "\\>"
                        "[ \t]+\\(\\sw+\\)")
                '((1 font-lock-keyword-face)
-                 (2 font-lock-reference-face)))
+                 (2 font-lock-constant-face)))
          ;; embedded Metafont/MetaPost code in comments
          (cons "|\\([^|]+\\)|" 
-               '(1 font-lock-reference-face t))
+               '(1 font-lock-constant-face t))
      ))
   "Default expressions to highlight in Metafont or MetaPost mode.")
 
--- a/lisp/progmodes/modula2.el	Fri Feb 20 14:55:48 1998 +0000
+++ b/lisp/progmodes/modula2.el	Fri Feb 20 14:58:27 1998 +0000
@@ -171,7 +171,7 @@
      (1 font-lock-keyword-face)
      (font-lock-match-c-style-declaration-item-and-skip-to-next
       nil (goto-char (match-end 0))
-      (1 font-lock-reference-face)))
+      (1 font-lock-constant-face)))
     ;;
     ;; Pragmas as warnings.
     ;; Spencer Allain <sallain@teknowledge.com> says do them as comments...
@@ -224,7 +224,7 @@
 	   (1 font-lock-function-name-face)))
 	;;
 	;; Fontify constants as references.
-	'("\\<\\(FALSE\\|NIL\\|NULL\\|TRUE\\)\\>" . font-lock-reference-face)
+	'("\\<\\(FALSE\\|NIL\\|NULL\\|TRUE\\)\\>" . font-lock-constant-face)
 	))))
   "Gaudy level highlighting for Modula-3 modes.")
 
--- a/lisp/progmodes/octave-mod.el	Fri Feb 20 14:55:48 1998 +0000
+++ b/lisp/progmodes/octave-mod.el	Fri Feb 20 14:58:27 1998 +0000
@@ -175,7 +175,7 @@
 	 'font-lock-keyword-face)
    ;; Fontify all builtin operators.
    (cons "\\(&\\||\\|<=\\|>=\\|==\\|<\\|>\\|!=\\|!\\)"
-	 'font-lock-reference-face)
+	 'font-lock-builtin-face)
    ;; Fontify all builtin variables.
    (cons (concat "\\<\\("
 		 (mapconcat 'identity octave-variables "\\|")
--- a/lisp/progmodes/pascal.el	Fri Feb 20 14:55:48 1998 +0000
+++ b/lisp/progmodes/pascal.el	Fri Feb 20 14:58:27 1998 +0000
@@ -164,7 +164,7 @@
    (cons (concat "\\<\\(array\\|boolean\\|c\\(har\\|onst\\)\\|file\\|"
 		 "integer\\|re\\(al\\|cord\\)\\|type\\|var\\)\\>")
 	 'font-lock-type-face)
-   '("\\<\\(label\\|external\\|forward\\)\\>" . font-lock-reference-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")
--- a/lisp/progmodes/perl-mode.el	Fri Feb 20 14:55:48 1998 +0000
+++ b/lisp/progmodes/perl-mode.el	Fri Feb 20 14:58:27 1998 +0000
@@ -171,15 +171,15 @@
     ("^#[ \t]*define[ \t]+\\(\\sw+\\)(" 1 font-lock-function-name-face)
     ("^#[ \t]*if\\>"
      ("\\<\\(defined\\)\\>[ \t]*(?\\(\\sw+\\)?" nil nil
-      (1 font-lock-reference-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-reference-face) (2 font-lock-variable-name-face nil t))
+     (1 font-lock-constant-face) (2 font-lock-variable-name-face nil t))
     ;;
     ;; Fontify function and package names in declarations.
     ("\\<\\(package\\|sub\\)\\>[ \t]*\\(\\sw+\\)?"
      (1 font-lock-keyword-face) (2 font-lock-function-name-face nil t))
     ("\\<\\(import\\|no\\|require\\|use\\)\\>[ \t]*\\(\\sw+\\)?"
-     (1 font-lock-keyword-face) (2 font-lock-reference-face nil t)))
+     (1 font-lock-keyword-face) (2 font-lock-constant-face nil t)))
   "Subdued level highlighting for Perl mode.")
 
 (defconst perl-font-lock-keywords-2
@@ -206,12 +206,12 @@
     '("[$*]{?\\(\\sw+\\)" 1 font-lock-variable-name-face)
     '("\\([@%]\\|\\$#\\)\\(\\sw+\\)"
       (2 (cons font-lock-variable-name-face '(underline))))
-    '("<\\(\\sw+\\)>" 1 font-lock-reference-face)
+    '("<\\(\\sw+\\)>" 1 font-lock-constant-face)
     ;;
     ;; Fontify keywords with/and labels as we do in `c++-font-lock-keywords'.
     '("\\<\\(continue\\|goto\\|last\\|next\\|redo\\)\\>[ \t]*\\(\\sw+\\)?"
-      (1 font-lock-keyword-face) (2 font-lock-reference-face nil t))
-    '("^[ \t]*\\(\\sw+\\)[ \t]*:[^:]" 1 font-lock-reference-face)))
+      (1 font-lock-keyword-face) (2 font-lock-constant-face nil t))
+    '("^[ \t]*\\(\\sw+\\)[ \t]*:[^:]" 1 font-lock-constant-face)))
   "Gaudy level highlighting for Perl mode.")
 
 (defvar perl-font-lock-keywords perl-font-lock-keywords-1
--- a/lisp/progmodes/scheme.el	Fri Feb 20 14:55:48 1998 +0000
+++ b/lisp/progmodes/scheme.el	Fri Feb 20 14:58:27 1998 +0000
@@ -345,7 +345,7 @@
      '("(\\(element\\)\\>[ 	]*(\\(\\S)+\\))"
        (1 font-lock-keyword-face)
        (2 font-lock-type-face))
-     '("\\<\\sw+:\\>" . font-lock-reference-face) ; trailing `:' c.f. scheme
+     '("\\<\\sw+:\\>" . font-lock-constant-face) ; trailing `:' c.f. scheme
      ;; SGML markup (from sgml-mode) :
      '("<\\([!?][-a-z0-9]+\\)" 1 font-lock-keyword-face)
      '("<\\(/?[-a-z0-9]+\\)" 1 font-lock-function-name-face)))
--- a/lisp/progmodes/simula.el	Fri Feb 20 14:55:48 1998 +0000
+++ b/lisp/progmodes/simula.el	Fri Feb 20 14:58:27 1998 +0000
@@ -141,7 +141,7 @@
      (if (match-beginning 1) font-lock-string-face font-lock-comment-face))
    ;;
    ;; Compiler directives.
-   '("^%\\([^ \t\n].*\\)" 1 font-lock-reference-face)
+   '("^%\\([^ \t\n].*\\)" 1 font-lock-constant-face)
    ;;
    ;; Class and procedure names.
    '("\\<\\(class\\|procedure\\)\\>[ \t]*\\(\\sw+\\)?"
@@ -153,8 +153,8 @@
   (append simula-font-lock-keywords-1
    (list
     ;;
-    ;; Constants as references.
-    '("\\<\\(false\\|none\\|notext\\|true\\)\\>" . font-lock-reference-face)
+    ;; Constants.
+    '("\\<\\(false\\|none\\|notext\\|true\\)\\>" . font-lock-constant-face)
     ;;
     ;; Keywords.
     (concat "\\<\\("
--- a/lisp/ps-print.el	Fri Feb 20 14:55:48 1998 +0000
+++ b/lisp/ps-print.el	Fri Feb 20 14:58:27 1998 +0000
@@ -1278,7 +1278,7 @@
 (defcustom ps-underlined-faces
   (unless ps-print-color-p
     '(font-lock-function-name-face
-      font-lock-reference-face
+      font-lock-constant-face
       font-lock-warning-face))
   "*A list of the \(non-underlined\) faces that should be printed underlined.
 This applies to generating PostScript."
--- a/lisp/textmodes/bibtex.el	Fri Feb 20 14:55:48 1998 +0000
+++ b/lisp/textmodes/bibtex.el	Fri Feb 20 14:58:27 1998 +0000
@@ -1118,7 +1118,7 @@
    ;; reference type and reference label
    (list bibtex-reference-maybe-empty-head
          (list bibtex-type-in-head 'font-lock-function-name-face)
-         (list bibtex-key-in-head 'font-lock-reference-face nil t))
+         (list bibtex-key-in-head 'font-lock-constant-face nil t))
    ;; comments
    (list 
     (concat "^\\([ \t]*" bibtex-comment-start ".*\\)$")
--- a/lisp/textmodes/outline.el	Fri Feb 20 14:55:48 1998 +0000
+++ b/lisp/textmodes/outline.el	Fri Feb 20 14:58:27 1998 +0000
@@ -156,7 +156,7 @@
 				      (3 . font-lock-keyword-face)
 				      (4 . font-lock-builtin-face)
 				      (5 . font-lock-comment-face)
-				      (6 . font-lock-reference-face)
+				      (6 . font-lock-constant-face)
 				      (7 . font-lock-type-face)
 				      (8 . font-lock-string-face))))
 			 font-lock-warning-face)
--- a/lisp/textmodes/reftex.el	Fri Feb 20 14:55:48 1998 +0000
+++ b/lisp/textmodes/reftex.el	Fri Feb 20 14:58:27 1998 +0000
@@ -2699,7 +2699,7 @@
              (- (point) (length label)) (point)
              'face (if comment
                        'font-lock-comment-face
-                     'font-lock-reference-face)))
+                     'font-lock-constant-face)))
 
           (insert (if counter (format " (%d) " cnt) "")
                   (if comment " LABEL IS COMMENTED OUT " "")
@@ -4114,7 +4114,7 @@
                          authors)
       (put-text-property 0 (length title)   'face 'font-lock-comment-face
                          title)
-      (put-text-property 0 (length extra)   'face 'font-lock-reference-face
+      (put-text-property 0 (length extra)   'face 'font-lock-constant-face
                          extra))
     (concat key "\n     " authors " " year " " extra "\n     " title "\n\n")))