diff options
| author | Simon Marshall | 1998-02-20 14:58:27 +0000 |
|---|---|---|
| committer | Simon Marshall | 1998-02-20 14:58:27 +0000 |
| commit | 883212ce6905a2bde30bf2dd5eb647a09fd597c4 (patch) | |
| tree | 163701513d947fad31df18ea7a25bc8cac2392b1 | |
| parent | b6908641f2bd7e8df922058478086a0f0372b065 (diff) | |
| download | emacs-883212ce6905a2bde30bf2dd5eb647a09fd597c4.tar.gz emacs-883212ce6905a2bde30bf2dd5eb647a09fd597c4.zip | |
Changed font-lock-reference-face to font-lock-constant-face.
| -rw-r--r-- | lisp/add-log.el | 2 | ||||
| -rw-r--r-- | lisp/dired.el | 2 | ||||
| -rw-r--r-- | lisp/emacs-lisp/checkdoc.el | 2 | ||||
| -rw-r--r-- | lisp/help.el | 6 | ||||
| -rw-r--r-- | lisp/ielm.el | 4 | ||||
| -rw-r--r-- | lisp/mail/rmail.el | 2 | ||||
| -rw-r--r-- | lisp/mail/sendmail.el | 2 | ||||
| -rw-r--r-- | lisp/play/decipher.el | 4 | ||||
| -rw-r--r-- | lisp/progmodes/ada-mode.el | 4 | ||||
| -rw-r--r-- | lisp/progmodes/awk-mode.el | 2 | ||||
| -rw-r--r-- | lisp/progmodes/cperl-mode.el | 20 | ||||
| -rw-r--r-- | lisp/progmodes/f90.el | 12 | ||||
| -rw-r--r-- | lisp/progmodes/fortran.el | 6 | ||||
| -rw-r--r-- | lisp/progmodes/icon.el | 2 | ||||
| -rw-r--r-- | lisp/progmodes/make-mode.el | 2 | ||||
| -rw-r--r-- | lisp/progmodes/meta-mode.el | 4 | ||||
| -rw-r--r-- | lisp/progmodes/modula2.el | 4 | ||||
| -rw-r--r-- | lisp/progmodes/octave-mod.el | 2 | ||||
| -rw-r--r-- | lisp/progmodes/pascal.el | 2 | ||||
| -rw-r--r-- | lisp/progmodes/perl-mode.el | 12 | ||||
| -rw-r--r-- | lisp/progmodes/scheme.el | 2 | ||||
| -rw-r--r-- | lisp/progmodes/simula.el | 6 | ||||
| -rw-r--r-- | lisp/ps-print.el | 2 | ||||
| -rw-r--r-- | lisp/textmodes/bibtex.el | 2 | ||||
| -rw-r--r-- | lisp/textmodes/outline.el | 2 | ||||
| -rw-r--r-- | lisp/textmodes/reftex.el | 4 |
26 files changed, 58 insertions, 56 deletions
diff --git a/lisp/add-log.el b/lisp/add-log.el index 62b2ef4885f..2d37293d3d5 100644 --- a/lisp/add-log.el +++ b/lisp/add-log.el | |||
| @@ -106,7 +106,7 @@ for file A. | |||
| 106 | ("^\\sw.........[0-9: ]*" | 106 | ("^\\sw.........[0-9: ]*" |
| 107 | (0 font-lock-string-face) | 107 | (0 font-lock-string-face) |
| 108 | ("\\([^<]+\\)<\\([A-Za-z0-9_.-]+@[A-Za-z0-9_.-]+\\)>" nil nil | 108 | ("\\([^<]+\\)<\\([A-Za-z0-9_.-]+@[A-Za-z0-9_.-]+\\)>" nil nil |
| 109 | (1 font-lock-reference-face) | 109 | (1 font-lock-constant-face) |
| 110 | (2 font-lock-variable-name-face))) | 110 | (2 font-lock-variable-name-face))) |
| 111 | ;; | 111 | ;; |
| 112 | ;; File names. | 112 | ;; File names. |
diff --git a/lisp/dired.el b/lisp/dired.el index 6c37eccfb9e..82e5c2d1332 100644 --- a/lisp/dired.el +++ b/lisp/dired.el | |||
| @@ -259,7 +259,7 @@ Subexpression 2 must end right before the \\n or \\r.") | |||
| 259 | ;; | 259 | ;; |
| 260 | ;; Dired marks. | 260 | ;; Dired marks. |
| 261 | (list dired-re-mark | 261 | (list dired-re-mark |
| 262 | '(0 font-lock-reference-face) | 262 | '(0 font-lock-constant-face) |
| 263 | '(".+" (dired-move-to-filename) nil (0 font-lock-warning-face))) | 263 | '(".+" (dired-move-to-filename) nil (0 font-lock-warning-face))) |
| 264 | ;; People who are paranoid about security would consider this more | 264 | ;; People who are paranoid about security would consider this more |
| 265 | ;; important than other things such as whether it is a directory. | 265 | ;; important than other things such as whether it is a directory. |
diff --git a/lisp/emacs-lisp/checkdoc.el b/lisp/emacs-lisp/checkdoc.el index 31e090d33fb..38b78f4e217 100644 --- a/lisp/emacs-lisp/checkdoc.el +++ b/lisp/emacs-lisp/checkdoc.el | |||
| @@ -1680,7 +1680,7 @@ This function returns non-nil if the text was replaced." | |||
| 1680 | (defvar checkdoc-output-font-lock-keywords | 1680 | (defvar checkdoc-output-font-lock-keywords |
| 1681 | '(("\\(\\w+\\.el\\):" 1 font-lock-function-name-face) | 1681 | '(("\\(\\w+\\.el\\):" 1 font-lock-function-name-face) |
| 1682 | ("style check: \\(\\w+\\)" 1 font-lock-comment-face) | 1682 | ("style check: \\(\\w+\\)" 1 font-lock-comment-face) |
| 1683 | ("^\\([0-9]+\\):" 1 font-lock-reference-face)) | 1683 | ("^\\([0-9]+\\):" 1 font-lock-constant-face)) |
| 1684 | "Keywords used to highlight a checkdoc diagnostic buffer.") | 1684 | "Keywords used to highlight a checkdoc diagnostic buffer.") |
| 1685 | 1685 | ||
| 1686 | (defvar checkdoc-output-mode-map nil | 1686 | (defvar checkdoc-output-mode-map nil |
diff --git a/lisp/help.el b/lisp/help.el index 48eaba0b7e6..86c2f75b852 100644 --- a/lisp/help.el +++ b/lisp/help.el | |||
| @@ -104,10 +104,10 @@ | |||
| 104 | ;; | 104 | ;; |
| 105 | ;; Words inside `' which tend to be symbol names. | 105 | ;; Words inside `' which tend to be symbol names. |
| 106 | (list (concat "`\\(" sym-char sym-char "+\\)'") | 106 | (list (concat "`\\(" sym-char sym-char "+\\)'") |
| 107 | 1 'font-lock-reference-face t) | 107 | 1 'font-lock-constant-face t) |
| 108 | ;; | 108 | ;; |
| 109 | ;; CLisp `:' keywords as references. | 109 | ;; CLisp `:' keywords as builtins. |
| 110 | (list (concat "\\<:" sym-char "+\\>") 0 'font-lock-reference-face t)))) | 110 | (list (concat "\\<:" sym-char "+\\>") 0 'font-lock-builtin-face t)))) |
| 111 | "Default expressions to highlight in Help mode.") | 111 | "Default expressions to highlight in Help mode.") |
| 112 | 112 | ||
| 113 | (defun help-mode () | 113 | (defun help-mode () |
diff --git a/lisp/ielm.el b/lisp/ielm.el index 83fc9e1eea4..d891ec79453 100644 --- a/lisp/ielm.el +++ b/lisp/ielm.el | |||
| @@ -130,7 +130,9 @@ This variable is buffer-local.") | |||
| 130 | (defvar ielm-font-lock-keywords | 130 | (defvar ielm-font-lock-keywords |
| 131 | (list | 131 | (list |
| 132 | (cons (concat "^" (regexp-quote ielm-prompt)) 'font-lock-keyword-face) | 132 | (cons (concat "^" (regexp-quote ielm-prompt)) 'font-lock-keyword-face) |
| 133 | '("\\(^\\*\\*\\*[^*]+\\*\\*\\*\\)\\(.*$\\)" (1 font-lock-comment-face) (2 font-lock-reference-face))) | 133 | '("\\(^\\*\\*\\*[^*]+\\*\\*\\*\\)\\(.*$\\)" |
| 134 | (1 font-lock-comment-face) | ||
| 135 | (2 font-lock-constant-face))) | ||
| 134 | "Additional expressions to highlight in ielm buffers.") | 136 | "Additional expressions to highlight in ielm buffers.") |
| 135 | 137 | ||
| 136 | ;;; Completion stuff | 138 | ;;; Completion stuff |
diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el index d55e11dbb0e..ef55e63dda6 100644 --- a/lisp/mail/rmail.el +++ b/lisp/mail/rmail.el | |||
| @@ -286,7 +286,7 @@ by substituting the new message number into the existing list.") | |||
| 286 | "\\(" cite-chars "[ \t]*\\)\\)+" | 286 | "\\(" cite-chars "[ \t]*\\)\\)+" |
| 287 | "\\(.*\\)") | 287 | "\\(.*\\)") |
| 288 | (beginning-of-line) (end-of-line) | 288 | (beginning-of-line) (end-of-line) |
| 289 | (2 font-lock-reference-face nil t) | 289 | (2 font-lock-constant-face nil t) |
| 290 | (4 font-lock-comment-face nil t))) | 290 | (4 font-lock-comment-face nil t))) |
| 291 | '("^\\(X-[A-Za-z0-9-]+\\|In-reply-to\\|Date\\):.*$" | 291 | '("^\\(X-[A-Za-z0-9-]+\\|In-reply-to\\|Date\\):.*$" |
| 292 | . font-lock-string-face)))) | 292 | . font-lock-string-face)))) |
diff --git a/lisp/mail/sendmail.el b/lisp/mail/sendmail.el index 33795b0b5bf..8d93200c264 100644 --- a/lisp/mail/sendmail.el +++ b/lisp/mail/sendmail.el | |||
| @@ -239,7 +239,7 @@ actually occur.") | |||
| 239 | "\\(" cite-chars "[ \t]*\\)\\)+" | 239 | "\\(" cite-chars "[ \t]*\\)\\)+" |
| 240 | "\\(.*\\)") | 240 | "\\(.*\\)") |
| 241 | (beginning-of-line) (end-of-line) | 241 | (beginning-of-line) (end-of-line) |
| 242 | (2 font-lock-reference-face nil t) | 242 | (2 font-lock-constant-face nil t) |
| 243 | (4 font-lock-comment-face nil t))) | 243 | (4 font-lock-comment-face nil t))) |
| 244 | '("^\\(X-[A-Za-z0-9-]+\\|In-reply-to\\):.*" | 244 | '("^\\(X-[A-Za-z0-9-]+\\|In-reply-to\\):.*" |
| 245 | . font-lock-string-face)))) | 245 | . font-lock-string-face)))) |
diff --git a/lisp/play/decipher.el b/lisp/play/decipher.el index f7d07ae13f3..307ac0d1732 100644 --- a/lisp/play/decipher.el +++ b/lisp/play/decipher.el | |||
| @@ -116,7 +116,7 @@ the tail of the list.") | |||
| 116 | (defvar decipher-font-lock-keywords | 116 | (defvar decipher-font-lock-keywords |
| 117 | '(("^:.*" . font-lock-keyword-face) | 117 | '(("^:.*" . font-lock-keyword-face) |
| 118 | ("^>.*" . font-lock-string-face) | 118 | ("^>.*" . font-lock-string-face) |
| 119 | ("^%!.*" . font-lock-reference-face) | 119 | ("^%!.*" . font-lock-constant-face) |
| 120 | ("^%.*" . font-lock-comment-face) | 120 | ("^%.*" . font-lock-comment-face) |
| 121 | ("\\`(\\([a-z]+\\) +\\([A-Z]+\\)" | 121 | ("\\`(\\([a-z]+\\) +\\([A-Z]+\\)" |
| 122 | (1 font-lock-string-face) | 122 | (1 font-lock-string-face) |
| @@ -128,7 +128,7 @@ the tail of the list.") | |||
| 128 | 128 | ||
| 129 | Ciphertext uses `font-lock-keyword-face', plaintext uses | 129 | Ciphertext uses `font-lock-keyword-face', plaintext uses |
| 130 | `font-lock-string-face', comments use `font-lock-comment-face', and | 130 | `font-lock-string-face', comments use `font-lock-comment-face', and |
| 131 | checkpoints use `font-lock-reference-face'. You can customize the | 131 | checkpoints use `font-lock-constant-face'. You can customize the |
| 132 | display by changing these variables. For best results, I recommend | 132 | display by changing these variables. For best results, I recommend |
| 133 | that all faces use the same background color. | 133 | that all faces use the same background color. |
| 134 | 134 | ||
diff --git a/lisp/progmodes/ada-mode.el b/lisp/progmodes/ada-mode.el index c248227190b..8614ca4421a 100644 --- a/lisp/progmodes/ada-mode.el +++ b/lisp/progmodes/ada-mode.el | |||
| @@ -3797,10 +3797,10 @@ If that is the case remember the name of that function." | |||
| 3797 | (list (concat "\\<\\(goto\\|raise\\|use\\|with\\)\\>" ; "when" removed | 3797 | (list (concat "\\<\\(goto\\|raise\\|use\\|with\\)\\>" ; "when" removed |
| 3798 | ; "[ \t]*\\(\\sw+\\(\\.\\sw*\\)*\\)?") ; RE | 3798 | ; "[ \t]*\\(\\sw+\\(\\.\\sw*\\)*\\)?") ; RE |
| 3799 | "[ \t]*\\([a-zA-Z0-9_\\.\\|, ]+\\)\\W") | 3799 | "[ \t]*\\([a-zA-Z0-9_\\.\\|, ]+\\)\\W") |
| 3800 | '(1 font-lock-keyword-face) '(2 font-lock-reference-face nil t)) | 3800 | '(1 font-lock-keyword-face) '(2 font-lock-constant-face nil t)) |
| 3801 | ;; | 3801 | ;; |
| 3802 | ;; Goto tags. | 3802 | ;; Goto tags. |
| 3803 | '("<<\\(\\sw+\\)>>" 1 font-lock-reference-face) | 3803 | '("<<\\(\\sw+\\)>>" 1 font-lock-constant-face) |
| 3804 | )) | 3804 | )) |
| 3805 | "Gaudy level highlighting for Ada mode.") | 3805 | "Gaudy level highlighting for Ada mode.") |
| 3806 | 3806 | ||
diff --git a/lisp/progmodes/awk-mode.el b/lisp/progmodes/awk-mode.el index 67ec6dedfb6..06fcef0f107 100644 --- a/lisp/progmodes/awk-mode.el +++ b/lisp/progmodes/awk-mode.el | |||
| @@ -103,7 +103,7 @@ | |||
| 103 | (cons (mapconcat 'identity | 103 | (cons (mapconcat 'identity |
| 104 | '("&&" "||" "<=" "<" ">=" ">" "==" "!=" "!~" "~") | 104 | '("&&" "||" "<=" "<" ">=" ">" "==" "!=" "!~" "~") |
| 105 | "\\|") | 105 | "\\|") |
| 106 | 'font-lock-reference-face) | 106 | 'font-lock-constant-face) |
| 107 | )) | 107 | )) |
| 108 | "Default expressions to highlight in AWK mode.") | 108 | "Default expressions to highlight in AWK mode.") |
| 109 | 109 | ||
diff --git a/lisp/progmodes/cperl-mode.el b/lisp/progmodes/cperl-mode.el index 6285af4b45e..8dee6a6dfe5 100644 --- a/lisp/progmodes/cperl-mode.el +++ b/lisp/progmodes/cperl-mode.el | |||
| @@ -2324,7 +2324,7 @@ the sections using `cperl-pod-head-face', `cperl-pod-face', | |||
| 2324 | (setq tag (buffer-substring b1 e1) | 2324 | (setq tag (buffer-substring b1 e1) |
| 2325 | qtag (regexp-quote tag)) | 2325 | qtag (regexp-quote tag)) |
| 2326 | (cond (cperl-pod-here-fontify | 2326 | (cond (cperl-pod-here-fontify |
| 2327 | (put-text-property b1 e1 'face font-lock-reference-face) | 2327 | (put-text-property b1 e1 'face font-lock-constant-face) |
| 2328 | (cperl-put-do-not-fontify b1 e1))) | 2328 | (cperl-put-do-not-fontify b1 e1))) |
| 2329 | (forward-line) | 2329 | (forward-line) |
| 2330 | (setq b (point)) | 2330 | (setq b (point)) |
| @@ -2332,7 +2332,7 @@ the sections using `cperl-pod-head-face', `cperl-pod-face', | |||
| 2332 | (if cperl-pod-here-fontify | 2332 | (if cperl-pod-here-fontify |
| 2333 | (progn | 2333 | (progn |
| 2334 | (put-text-property (match-beginning 0) (match-end 0) | 2334 | (put-text-property (match-beginning 0) (match-end 0) |
| 2335 | 'face font-lock-reference-face) | 2335 | 'face font-lock-constant-face) |
| 2336 | (cperl-put-do-not-fontify b (match-end 0)) | 2336 | (cperl-put-do-not-fontify b (match-end 0)) |
| 2337 | ;;(put-text-property (max (point-min) (1- b)) | 2337 | ;;(put-text-property (max (point-min) (1- b)) |
| 2338 | ;; (min (point-max) | 2338 | ;; (min (point-max) |
| @@ -2628,7 +2628,7 @@ the sections using `cperl-pod-head-face', `cperl-pod-face', | |||
| 2628 | ;;; (setq tag (buffer-substring b1 e1) | 2628 | ;;; (setq tag (buffer-substring b1 e1) |
| 2629 | ;;; qtag (regexp-quote tag)) | 2629 | ;;; qtag (regexp-quote tag)) |
| 2630 | ;;; (cond (cperl-pod-here-fontify | 2630 | ;;; (cond (cperl-pod-here-fontify |
| 2631 | ;;; (put-text-property b1 e1 'face font-lock-reference-face) | 2631 | ;;; (put-text-property b1 e1 'face font-lock-constant-face) |
| 2632 | ;;; (cperl-put-do-not-fontify b1 e1))) | 2632 | ;;; (cperl-put-do-not-fontify b1 e1))) |
| 2633 | ;;; (forward-line) | 2633 | ;;; (forward-line) |
| 2634 | ;;; (setq b (point)) | 2634 | ;;; (setq b (point)) |
| @@ -2636,7 +2636,7 @@ the sections using `cperl-pod-head-face', `cperl-pod-face', | |||
| 2636 | ;;; (if cperl-pod-here-fontify | 2636 | ;;; (if cperl-pod-here-fontify |
| 2637 | ;;; (progn | 2637 | ;;; (progn |
| 2638 | ;;; (put-text-property (match-beginning 0) (match-end 0) | 2638 | ;;; (put-text-property (match-beginning 0) (match-end 0) |
| 2639 | ;;; 'face font-lock-reference-face) | 2639 | ;;; 'face font-lock-constant-face) |
| 2640 | ;;; (cperl-put-do-not-fontify b (match-end 0)) | 2640 | ;;; (cperl-put-do-not-fontify b (match-end 0)) |
| 2641 | ;;; ;;(put-text-property (max (point-min) (1- b)) | 2641 | ;;; ;;(put-text-property (max (point-min) (1- b)) |
| 2642 | ;;; ;; (min (point-max) | 2642 | ;;; ;; (min (point-max) |
| @@ -3294,9 +3294,9 @@ indentation and initial hashes. Behaves usually outside of comment." | |||
| 3294 | '("[ \t{,(]\\(-?[a-zA-Z0-9_:]+\\)[ \t]*=>" 1 | 3294 | '("[ \t{,(]\\(-?[a-zA-Z0-9_:]+\\)[ \t]*=>" 1 |
| 3295 | font-lock-string-face t) | 3295 | font-lock-string-face t) |
| 3296 | '("^[ \t]*\\([a-zA-Z0-9_]+[ \t]*:\\)[ \t]*\\($\\|{\\|\\<\\(until\\|while\\|for\\(each\\)?\\|do\\)\\>\\)" 1 | 3296 | '("^[ \t]*\\([a-zA-Z0-9_]+[ \t]*:\\)[ \t]*\\($\\|{\\|\\<\\(until\\|while\\|for\\(each\\)?\\|do\\)\\>\\)" 1 |
| 3297 | font-lock-reference-face) ; labels | 3297 | font-lock-constant-face) ; labels |
| 3298 | '("\\<\\(continue\\|next\\|last\\|redo\\|goto\\)\\>[ \t]+\\([a-zA-Z0-9_:]+\\)" ; labels as targets | 3298 | '("\\<\\(continue\\|next\\|last\\|redo\\|goto\\)\\>[ \t]+\\([a-zA-Z0-9_:]+\\)" ; labels as targets |
| 3299 | 2 font-lock-reference-face) | 3299 | 2 font-lock-constant-face) |
| 3300 | (cond ((featurep 'font-lock-extra) | 3300 | (cond ((featurep 'font-lock-extra) |
| 3301 | '("^[ \t]*\\(my\\|local\\)[ \t]*\\(([ \t]*\\)?\\([$@%*][a-zA-Z0-9_:]+\\)\\([ \t]*,\\)?" | 3301 | '("^[ \t]*\\(my\\|local\\)[ \t]*\\(([ \t]*\\)?\\([$@%*][a-zA-Z0-9_:]+\\)\\([ \t]*,\\)?" |
| 3302 | (3 font-lock-variable-name-face) | 3302 | (3 font-lock-variable-name-face) |
| @@ -3394,7 +3394,7 @@ indentation and initial hashes. Behaves usually outside of comment." | |||
| 3394 | nil | 3394 | nil |
| 3395 | [nil nil t t t] | 3395 | [nil nil t t t] |
| 3396 | ) | 3396 | ) |
| 3397 | (list 'font-lock-reference-face | 3397 | (list 'font-lock-constant-face |
| 3398 | ["CadetBlue" "Aquamarine" "Gray50" "LightGray"] | 3398 | ["CadetBlue" "Aquamarine" "Gray50" "LightGray"] |
| 3399 | nil | 3399 | nil |
| 3400 | [nil nil t t t] | 3400 | [nil nil t t t] |
| @@ -3432,7 +3432,7 @@ indentation and initial hashes. Behaves usually outside of comment." | |||
| 3432 | ((fboundp 'valid-color-name-p) 'valid-color-name-p) | 3432 | ((fboundp 'valid-color-name-p) 'valid-color-name-p) |
| 3433 | ;; XEmacs 19.11 | 3433 | ;; XEmacs 19.11 |
| 3434 | (t 'x-valid-color-name-p)))) | 3434 | (t 'x-valid-color-name-p)))) |
| 3435 | (defvar font-lock-reference-face 'font-lock-reference-face) | 3435 | (defvar font-lock-constant-face 'font-lock-constant-face) |
| 3436 | (defvar font-lock-variable-name-face 'font-lock-variable-name-face) | 3436 | (defvar font-lock-variable-name-face 'font-lock-variable-name-face) |
| 3437 | (or (boundp 'font-lock-type-face) | 3437 | (or (boundp 'font-lock-type-face) |
| 3438 | (defconst font-lock-type-face | 3438 | (defconst font-lock-type-face |
| @@ -3572,8 +3572,8 @@ indentation and initial hashes. Behaves usually outside of comment." | |||
| 3572 | (t (set-face-background 'font-lock-emphasized-face "gray90")))) | 3572 | (t (set-face-background 'font-lock-emphasized-face "gray90")))) |
| 3573 | (if (is-face 'font-lock-variable-name-face) nil | 3573 | (if (is-face 'font-lock-variable-name-face) nil |
| 3574 | (copy-face 'italic 'font-lock-variable-name-face)) | 3574 | (copy-face 'italic 'font-lock-variable-name-face)) |
| 3575 | (if (is-face 'font-lock-reference-face) nil | 3575 | (if (is-face 'font-lock-constant-face) nil |
| 3576 | (copy-face 'italic 'font-lock-reference-face)))) | 3576 | (copy-face 'italic 'font-lock-constant-face)))) |
| 3577 | (setq cperl-faces-init t)) | 3577 | (setq cperl-faces-init t)) |
| 3578 | (error nil))) | 3578 | (error nil))) |
| 3579 | 3579 | ||
diff --git a/lisp/progmodes/f90.el b/lisp/progmodes/f90.el index 85d0901dabd..c851f2091ee 100644 --- a/lisp/progmodes/f90.el +++ b/lisp/progmodes/f90.el | |||
| @@ -388,21 +388,21 @@ whether to blink the matching beginning." | |||
| 388 | (1 font-lock-type-face) (4 font-lock-variable-name-face)) | 388 | (1 font-lock-type-face) (4 font-lock-variable-name-face)) |
| 389 | ;; do, if, select, where, and forall constructs | 389 | ;; do, if, select, where, and forall constructs |
| 390 | '("\\<\\(end[ \t]*\\(do\\|if\\|select\\|forall\\|where\\)\\)\\>\\([ \t]+\\(\\sw+\\)\\)?" | 390 | '("\\<\\(end[ \t]*\\(do\\|if\\|select\\|forall\\|where\\)\\)\\>\\([ \t]+\\(\\sw+\\)\\)?" |
| 391 | (1 font-lock-keyword-face) (3 font-lock-reference-face nil t)) | 391 | (1 font-lock-keyword-face) (3 font-lock-constant-face nil t)) |
| 392 | '("^[ \t0-9]*\\(\\(\\sw+\\)[ \t]*:[ \t]*\\)?\\(\\(if\\|do\\([ \t]*while\\)?\\|select[ \t]*case\\|where\\|forall\\)\\)\\>" | 392 | '("^[ \t0-9]*\\(\\(\\sw+\\)[ \t]*:[ \t]*\\)?\\(\\(if\\|do\\([ \t]*while\\)?\\|select[ \t]*case\\|where\\|forall\\)\\)\\>" |
| 393 | (2 font-lock-reference-face nil t) (3 font-lock-keyword-face)) | 393 | (2 font-lock-constant-face nil t) (3 font-lock-keyword-face)) |
| 394 | ;; implicit declaration | 394 | ;; implicit declaration |
| 395 | '("\\<\\(implicit\\)[ \t]*\\(real\\|integer\\|c\\(haracter\\|omplex\\)\\|logical\\|type[ \t]*(\\sw+)\\|none\\)\\>" (1 font-lock-keyword-face) (2 font-lock-type-face)) | 395 | '("\\<\\(implicit\\)[ \t]*\\(real\\|integer\\|c\\(haracter\\|omplex\\)\\|logical\\|type[ \t]*(\\sw+)\\|none\\)\\>" (1 font-lock-keyword-face) (2 font-lock-type-face)) |
| 396 | '("\\<\\(namelist\\|common\\)[ \t]*\/\\(\\sw+\\)?\/" (1 font-lock-keyword-face) (2 font-lock-reference-face nil t)) | 396 | '("\\<\\(namelist\\|common\\)[ \t]*\/\\(\\sw+\\)?\/" (1 font-lock-keyword-face) (2 font-lock-constant-face nil t)) |
| 397 | "\\<else\\([ \t]*if\\|where\\)?\\>" | 397 | "\\<else\\([ \t]*if\\|where\\)?\\>" |
| 398 | "\\<\\(then\\|continue\\|format\\|include\\|stop\\|return\\)\\>" | 398 | "\\<\\(then\\|continue\\|format\\|include\\|stop\\|return\\)\\>" |
| 399 | '("\\<\\(exit\\|cycle\\)[ \t]*\\(\\sw+\\)?\\>" | 399 | '("\\<\\(exit\\|cycle\\)[ \t]*\\(\\sw+\\)?\\>" |
| 400 | (1 font-lock-keyword-face) (2 font-lock-reference-face nil t)) | 400 | (1 font-lock-keyword-face) (2 font-lock-constant-face nil t)) |
| 401 | '("\\<\\(case\\)[ \t]*\\(default\\|(\\)" . 1) | 401 | '("\\<\\(case\\)[ \t]*\\(default\\|(\\)" . 1) |
| 402 | '("\\<\\(do\\|go *to\\)\\>[ \t]*\\([0-9]+\\)" | 402 | '("\\<\\(do\\|go *to\\)\\>[ \t]*\\([0-9]+\\)" |
| 403 | (1 font-lock-keyword-face) (2 font-lock-reference-face)) | 403 | (1 font-lock-keyword-face) (2 font-lock-constant-face)) |
| 404 | ;; line numbers (lines whose first character after number is letter) | 404 | ;; line numbers (lines whose first character after number is letter) |
| 405 | '("^[ \t]*\\([0-9]+\\)[ \t]*[a-z]+" (1 font-lock-reference-face t)))) | 405 | '("^[ \t]*\\([0-9]+\\)[ \t]*[a-z]+" (1 font-lock-constant-face t)))) |
| 406 | "Highlights declarations, do-loops and other constructions") | 406 | "Highlights declarations, do-loops and other constructions") |
| 407 | 407 | ||
| 408 | (defvar f90-font-lock-keywords-3 | 408 | (defvar f90-font-lock-keywords-3 |
diff --git a/lisp/progmodes/fortran.el b/lisp/progmodes/fortran.el index 58495fbf541..253134636d4 100644 --- a/lisp/progmodes/fortran.el +++ b/lisp/progmodes/fortran.el | |||
| @@ -326,8 +326,8 @@ style.") | |||
| 326 | ;; Fontify do/goto keywords and targets, and goto tags. | 326 | ;; Fontify do/goto keywords and targets, and goto tags. |
| 327 | (list "\\<\\(do\\|go *to\\)\\>[ \t]*\\([0-9]+\\)?" | 327 | (list "\\<\\(do\\|go *to\\)\\>[ \t]*\\([0-9]+\\)?" |
| 328 | '(1 font-lock-keyword-face) | 328 | '(1 font-lock-keyword-face) |
| 329 | '(2 font-lock-reference-face nil t)) | 329 | '(2 font-lock-constant-face nil t)) |
| 330 | (cons "^ *\\([0-9]+\\)" 'font-lock-reference-face)))) | 330 | (cons "^ *\\([0-9]+\\)" 'font-lock-constant-face)))) |
| 331 | 331 | ||
| 332 | (setq fortran-font-lock-keywords-3 | 332 | (setq fortran-font-lock-keywords-3 |
| 333 | (append | 333 | (append |
| @@ -354,7 +354,7 @@ style.") | |||
| 354 | ;; | 354 | ;; |
| 355 | ;; Fontify goto-like `err=label'/`end=label' in read/write statements. | 355 | ;; Fontify goto-like `err=label'/`end=label' in read/write statements. |
| 356 | '(", *\\(e\\(nd\\|rr\\)\\)\\> *\\(= *\\([0-9]+\\)\\)?" | 356 | '(", *\\(e\\(nd\\|rr\\)\\)\\> *\\(= *\\([0-9]+\\)\\)?" |
| 357 | (1 font-lock-keyword-face) (4 font-lock-reference-face nil t)) | 357 | (1 font-lock-keyword-face) (4 font-lock-constant-face nil t)) |
| 358 | ;; | 358 | ;; |
| 359 | ;; Highlight standard continuation character and in a TAB-formatted line. | 359 | ;; Highlight standard continuation character and in a TAB-formatted line. |
| 360 | '("^ \\([^ 0]\\)" 1 font-lock-string-face) | 360 | '("^ \\([^ 0]\\)" 1 font-lock-string-face) |
diff --git a/lisp/progmodes/icon.el b/lisp/progmodes/icon.el index 2dbd9a3a726..dc72fbe07ff 100644 --- a/lisp/progmodes/icon.el +++ b/lisp/progmodes/icon.el | |||
| @@ -659,7 +659,7 @@ Returns nil if line starts inside a string, t if in a comment." | |||
| 659 | "&progname" "&random" "&rdrag" "®ions" "&resize" "&row" | 659 | "&progname" "&random" "&rdrag" "®ions" "&resize" "&row" |
| 660 | "&rpress" "&rrelease" "&shift" "&source" "&storage" "&subject" | 660 | "&rpress" "&rrelease" "&shift" "&source" "&storage" "&subject" |
| 661 | "&time" "&trace" "&ucase" "&version" "&window" "&x" "&y") t) | 661 | "&time" "&trace" "&ucase" "&version" "&window" "&x" "&y") t) |
| 662 | 'font-lock-reference-face) | 662 | 'font-lock-constant-face) |
| 663 | (cons ;; global local static declarations and link files | 663 | (cons ;; global local static declarations and link files |
| 664 | (concat | 664 | (concat |
| 665 | "^[ \t]*" | 665 | "^[ \t]*" |
diff --git a/lisp/progmodes/make-mode.el b/lisp/progmodes/make-mode.el index a00b7aa7c9d..f7b51ad1fac 100644 --- a/lisp/progmodes/make-mode.el +++ b/lisp/progmodes/make-mode.el | |||
| @@ -263,7 +263,7 @@ not be enclosed in { } or ( )." | |||
| 263 | (list makefile-dependency-regex 1 'font-lock-function-name-face) | 263 | (list makefile-dependency-regex 1 'font-lock-function-name-face) |
| 264 | ;; | 264 | ;; |
| 265 | ;; Variable references even in targets/strings/comments: | 265 | ;; Variable references even in targets/strings/comments: |
| 266 | '("\\$[({]\\([-a-zA-Z0-9_.]+\\)[}):]" 1 font-lock-reference-face prepend) | 266 | '("\\$[({]\\([-a-zA-Z0-9_.]+\\)[}):]" 1 font-lock-constant-face prepend) |
| 267 | 267 | ||
| 268 | ;; Highlight lines that contain just whitespace. | 268 | ;; Highlight lines that contain just whitespace. |
| 269 | ;; They can cause trouble, especially if they start with a tab. | 269 | ;; They can cause trouble, especially if they start with a tab. |
diff --git a/lisp/progmodes/meta-mode.el b/lisp/progmodes/meta-mode.el index f5df9bfec6c..fff1a39e7a5 100644 --- a/lisp/progmodes/meta-mode.el +++ b/lisp/progmodes/meta-mode.el | |||
| @@ -245,10 +245,10 @@ | |||
| 245 | (cons (concat "\\<" input-keywords "\\>" | 245 | (cons (concat "\\<" input-keywords "\\>" |
| 246 | "[ \t]+\\(\\sw+\\)") | 246 | "[ \t]+\\(\\sw+\\)") |
| 247 | '((1 font-lock-keyword-face) | 247 | '((1 font-lock-keyword-face) |
| 248 | (2 font-lock-reference-face))) | 248 | (2 font-lock-constant-face))) |
| 249 | ;; embedded Metafont/MetaPost code in comments | 249 | ;; embedded Metafont/MetaPost code in comments |
| 250 | (cons "|\\([^|]+\\)|" | 250 | (cons "|\\([^|]+\\)|" |
| 251 | '(1 font-lock-reference-face t)) | 251 | '(1 font-lock-constant-face t)) |
| 252 | )) | 252 | )) |
| 253 | "Default expressions to highlight in Metafont or MetaPost mode.") | 253 | "Default expressions to highlight in Metafont or MetaPost mode.") |
| 254 | 254 | ||
diff --git a/lisp/progmodes/modula2.el b/lisp/progmodes/modula2.el index a21a5f5d7d3..da67a7850a4 100644 --- a/lisp/progmodes/modula2.el +++ b/lisp/progmodes/modula2.el | |||
| @@ -171,7 +171,7 @@ followed by the first character of the construct. | |||
| 171 | (1 font-lock-keyword-face) | 171 | (1 font-lock-keyword-face) |
| 172 | (font-lock-match-c-style-declaration-item-and-skip-to-next | 172 | (font-lock-match-c-style-declaration-item-and-skip-to-next |
| 173 | nil (goto-char (match-end 0)) | 173 | nil (goto-char (match-end 0)) |
| 174 | (1 font-lock-reference-face))) | 174 | (1 font-lock-constant-face))) |
| 175 | ;; | 175 | ;; |
| 176 | ;; Pragmas as warnings. | 176 | ;; Pragmas as warnings. |
| 177 | ;; Spencer Allain <sallain@teknowledge.com> says do them as comments... | 177 | ;; Spencer Allain <sallain@teknowledge.com> says do them as comments... |
| @@ -224,7 +224,7 @@ followed by the first character of the construct. | |||
| 224 | (1 font-lock-function-name-face))) | 224 | (1 font-lock-function-name-face))) |
| 225 | ;; | 225 | ;; |
| 226 | ;; Fontify constants as references. | 226 | ;; Fontify constants as references. |
| 227 | '("\\<\\(FALSE\\|NIL\\|NULL\\|TRUE\\)\\>" . font-lock-reference-face) | 227 | '("\\<\\(FALSE\\|NIL\\|NULL\\|TRUE\\)\\>" . font-lock-constant-face) |
| 228 | )))) | 228 | )))) |
| 229 | "Gaudy level highlighting for Modula-3 modes.") | 229 | "Gaudy level highlighting for Modula-3 modes.") |
| 230 | 230 | ||
diff --git a/lisp/progmodes/octave-mod.el b/lisp/progmodes/octave-mod.el index b53794280ea..e8f3724689b 100644 --- a/lisp/progmodes/octave-mod.el +++ b/lisp/progmodes/octave-mod.el | |||
| @@ -175,7 +175,7 @@ parenthetical grouping.") | |||
| 175 | 'font-lock-keyword-face) | 175 | 'font-lock-keyword-face) |
| 176 | ;; Fontify all builtin operators. | 176 | ;; Fontify all builtin operators. |
| 177 | (cons "\\(&\\||\\|<=\\|>=\\|==\\|<\\|>\\|!=\\|!\\)" | 177 | (cons "\\(&\\||\\|<=\\|>=\\|==\\|<\\|>\\|!=\\|!\\)" |
| 178 | 'font-lock-reference-face) | 178 | 'font-lock-builtin-face) |
| 179 | ;; Fontify all builtin variables. | 179 | ;; Fontify all builtin variables. |
| 180 | (cons (concat "\\<\\(" | 180 | (cons (concat "\\<\\(" |
| 181 | (mapconcat 'identity octave-variables "\\|") | 181 | (mapconcat 'identity octave-variables "\\|") |
diff --git a/lisp/progmodes/pascal.el b/lisp/progmodes/pascal.el index d2ef2d2b283..11ebe75b66c 100644 --- a/lisp/progmodes/pascal.el +++ b/lisp/progmodes/pascal.el | |||
| @@ -164,7 +164,7 @@ | |||
| 164 | (cons (concat "\\<\\(array\\|boolean\\|c\\(har\\|onst\\)\\|file\\|" | 164 | (cons (concat "\\<\\(array\\|boolean\\|c\\(har\\|onst\\)\\|file\\|" |
| 165 | "integer\\|re\\(al\\|cord\\)\\|type\\|var\\)\\>") | 165 | "integer\\|re\\(al\\|cord\\)\\|type\\|var\\)\\>") |
| 166 | 'font-lock-type-face) | 166 | 'font-lock-type-face) |
| 167 | '("\\<\\(label\\|external\\|forward\\)\\>" . font-lock-reference-face) | 167 | '("\\<\\(label\\|external\\|forward\\)\\>" . font-lock-constant-face) |
| 168 | '("\\<\\([0-9]+\\)[ \t]*:" 1 font-lock-function-name-face) | 168 | '("\\<\\([0-9]+\\)[ \t]*:" 1 font-lock-function-name-face) |
| 169 | ; ("of" "to" "for" "if" "then" "else" "case" "while" | 169 | ; ("of" "to" "for" "if" "then" "else" "case" "while" |
| 170 | ; "do" "until" "and" "or" "not" "in" "with" "repeat" "begin" "end") | 170 | ; "do" "until" "and" "or" "not" "in" "with" "repeat" "begin" "end") |
diff --git a/lisp/progmodes/perl-mode.el b/lisp/progmodes/perl-mode.el index 42eecbde7c8..b0b5a74cbea 100644 --- a/lisp/progmodes/perl-mode.el +++ b/lisp/progmodes/perl-mode.el | |||
| @@ -171,15 +171,15 @@ The expansion is entirely correct because it uses the C preprocessor." | |||
| 171 | ("^#[ \t]*define[ \t]+\\(\\sw+\\)(" 1 font-lock-function-name-face) | 171 | ("^#[ \t]*define[ \t]+\\(\\sw+\\)(" 1 font-lock-function-name-face) |
| 172 | ("^#[ \t]*if\\>" | 172 | ("^#[ \t]*if\\>" |
| 173 | ("\\<\\(defined\\)\\>[ \t]*(?\\(\\sw+\\)?" nil nil | 173 | ("\\<\\(defined\\)\\>[ \t]*(?\\(\\sw+\\)?" nil nil |
| 174 | (1 font-lock-reference-face) (2 font-lock-variable-name-face nil t))) | 174 | (1 font-lock-constant-face) (2 font-lock-variable-name-face nil t))) |
| 175 | ("^#[ \t]*\\(\\sw+\\)\\>[ \t]*\\(\\sw+\\)?" | 175 | ("^#[ \t]*\\(\\sw+\\)\\>[ \t]*\\(\\sw+\\)?" |
| 176 | (1 font-lock-reference-face) (2 font-lock-variable-name-face nil t)) | 176 | (1 font-lock-constant-face) (2 font-lock-variable-name-face nil t)) |
| 177 | ;; | 177 | ;; |
| 178 | ;; Fontify function and package names in declarations. | 178 | ;; Fontify function and package names in declarations. |
| 179 | ("\\<\\(package\\|sub\\)\\>[ \t]*\\(\\sw+\\)?" | 179 | ("\\<\\(package\\|sub\\)\\>[ \t]*\\(\\sw+\\)?" |
| 180 | (1 font-lock-keyword-face) (2 font-lock-function-name-face nil t)) | 180 | (1 font-lock-keyword-face) (2 font-lock-function-name-face nil t)) |
| 181 | ("\\<\\(import\\|no\\|require\\|use\\)\\>[ \t]*\\(\\sw+\\)?" | 181 | ("\\<\\(import\\|no\\|require\\|use\\)\\>[ \t]*\\(\\sw+\\)?" |
| 182 | (1 font-lock-keyword-face) (2 font-lock-reference-face nil t))) | 182 | (1 font-lock-keyword-face) (2 font-lock-constant-face nil t))) |
| 183 | "Subdued level highlighting for Perl mode.") | 183 | "Subdued level highlighting for Perl mode.") |
| 184 | 184 | ||
| 185 | (defconst perl-font-lock-keywords-2 | 185 | (defconst perl-font-lock-keywords-2 |
| @@ -206,12 +206,12 @@ The expansion is entirely correct because it uses the C preprocessor." | |||
| 206 | '("[$*]{?\\(\\sw+\\)" 1 font-lock-variable-name-face) | 206 | '("[$*]{?\\(\\sw+\\)" 1 font-lock-variable-name-face) |
| 207 | '("\\([@%]\\|\\$#\\)\\(\\sw+\\)" | 207 | '("\\([@%]\\|\\$#\\)\\(\\sw+\\)" |
| 208 | (2 (cons font-lock-variable-name-face '(underline)))) | 208 | (2 (cons font-lock-variable-name-face '(underline)))) |
| 209 | '("<\\(\\sw+\\)>" 1 font-lock-reference-face) | 209 | '("<\\(\\sw+\\)>" 1 font-lock-constant-face) |
| 210 | ;; | 210 | ;; |
| 211 | ;; Fontify keywords with/and labels as we do in `c++-font-lock-keywords'. | 211 | ;; Fontify keywords with/and labels as we do in `c++-font-lock-keywords'. |
| 212 | '("\\<\\(continue\\|goto\\|last\\|next\\|redo\\)\\>[ \t]*\\(\\sw+\\)?" | 212 | '("\\<\\(continue\\|goto\\|last\\|next\\|redo\\)\\>[ \t]*\\(\\sw+\\)?" |
| 213 | (1 font-lock-keyword-face) (2 font-lock-reference-face nil t)) | 213 | (1 font-lock-keyword-face) (2 font-lock-constant-face nil t)) |
| 214 | '("^[ \t]*\\(\\sw+\\)[ \t]*:[^:]" 1 font-lock-reference-face))) | 214 | '("^[ \t]*\\(\\sw+\\)[ \t]*:[^:]" 1 font-lock-constant-face))) |
| 215 | "Gaudy level highlighting for Perl mode.") | 215 | "Gaudy level highlighting for Perl mode.") |
| 216 | 216 | ||
| 217 | (defvar perl-font-lock-keywords perl-font-lock-keywords-1 | 217 | (defvar perl-font-lock-keywords perl-font-lock-keywords-1 |
diff --git a/lisp/progmodes/scheme.el b/lisp/progmodes/scheme.el index 4342b420171..302f634362f 100644 --- a/lisp/progmodes/scheme.el +++ b/lisp/progmodes/scheme.el | |||
| @@ -345,7 +345,7 @@ if that value is non-nil and inserts the value of | |||
| 345 | '("(\\(element\\)\\>[ ]*(\\(\\S)+\\))" | 345 | '("(\\(element\\)\\>[ ]*(\\(\\S)+\\))" |
| 346 | (1 font-lock-keyword-face) | 346 | (1 font-lock-keyword-face) |
| 347 | (2 font-lock-type-face)) | 347 | (2 font-lock-type-face)) |
| 348 | '("\\<\\sw+:\\>" . font-lock-reference-face) ; trailing `:' c.f. scheme | 348 | '("\\<\\sw+:\\>" . font-lock-constant-face) ; trailing `:' c.f. scheme |
| 349 | ;; SGML markup (from sgml-mode) : | 349 | ;; SGML markup (from sgml-mode) : |
| 350 | '("<\\([!?][-a-z0-9]+\\)" 1 font-lock-keyword-face) | 350 | '("<\\([!?][-a-z0-9]+\\)" 1 font-lock-keyword-face) |
| 351 | '("<\\(/?[-a-z0-9]+\\)" 1 font-lock-function-name-face))) | 351 | '("<\\(/?[-a-z0-9]+\\)" 1 font-lock-function-name-face))) |
diff --git a/lisp/progmodes/simula.el b/lisp/progmodes/simula.el index c329e8b554c..33817300b1e 100644 --- a/lisp/progmodes/simula.el +++ b/lisp/progmodes/simula.el | |||
| @@ -141,7 +141,7 @@ for SIMULA mode to function correctly.") | |||
| 141 | (if (match-beginning 1) font-lock-string-face font-lock-comment-face)) | 141 | (if (match-beginning 1) font-lock-string-face font-lock-comment-face)) |
| 142 | ;; | 142 | ;; |
| 143 | ;; Compiler directives. | 143 | ;; Compiler directives. |
| 144 | '("^%\\([^ \t\n].*\\)" 1 font-lock-reference-face) | 144 | '("^%\\([^ \t\n].*\\)" 1 font-lock-constant-face) |
| 145 | ;; | 145 | ;; |
| 146 | ;; Class and procedure names. | 146 | ;; Class and procedure names. |
| 147 | '("\\<\\(class\\|procedure\\)\\>[ \t]*\\(\\sw+\\)?" | 147 | '("\\<\\(class\\|procedure\\)\\>[ \t]*\\(\\sw+\\)?" |
| @@ -153,8 +153,8 @@ for SIMULA mode to function correctly.") | |||
| 153 | (append simula-font-lock-keywords-1 | 153 | (append simula-font-lock-keywords-1 |
| 154 | (list | 154 | (list |
| 155 | ;; | 155 | ;; |
| 156 | ;; Constants as references. | 156 | ;; Constants. |
| 157 | '("\\<\\(false\\|none\\|notext\\|true\\)\\>" . font-lock-reference-face) | 157 | '("\\<\\(false\\|none\\|notext\\|true\\)\\>" . font-lock-constant-face) |
| 158 | ;; | 158 | ;; |
| 159 | ;; Keywords. | 159 | ;; Keywords. |
| 160 | (concat "\\<\\(" | 160 | (concat "\\<\\(" |
diff --git a/lisp/ps-print.el b/lisp/ps-print.el index 4af13e94238..1228a464db9 100644 --- a/lisp/ps-print.el +++ b/lisp/ps-print.el | |||
| @@ -1278,7 +1278,7 @@ This applies to generating PostScript." | |||
| 1278 | (defcustom ps-underlined-faces | 1278 | (defcustom ps-underlined-faces |
| 1279 | (unless ps-print-color-p | 1279 | (unless ps-print-color-p |
| 1280 | '(font-lock-function-name-face | 1280 | '(font-lock-function-name-face |
| 1281 | font-lock-reference-face | 1281 | font-lock-constant-face |
| 1282 | font-lock-warning-face)) | 1282 | font-lock-warning-face)) |
| 1283 | "*A list of the \(non-underlined\) faces that should be printed underlined. | 1283 | "*A list of the \(non-underlined\) faces that should be printed underlined. |
| 1284 | This applies to generating PostScript." | 1284 | This applies to generating PostScript." |
diff --git a/lisp/textmodes/bibtex.el b/lisp/textmodes/bibtex.el index 6b01e848664..2020d6e2fd5 100644 --- a/lisp/textmodes/bibtex.el +++ b/lisp/textmodes/bibtex.el | |||
| @@ -1118,7 +1118,7 @@ the value of `bibtex-text-indentation', minus 2." | |||
| 1118 | ;; reference type and reference label | 1118 | ;; reference type and reference label |
| 1119 | (list bibtex-reference-maybe-empty-head | 1119 | (list bibtex-reference-maybe-empty-head |
| 1120 | (list bibtex-type-in-head 'font-lock-function-name-face) | 1120 | (list bibtex-type-in-head 'font-lock-function-name-face) |
| 1121 | (list bibtex-key-in-head 'font-lock-reference-face nil t)) | 1121 | (list bibtex-key-in-head 'font-lock-constant-face nil t)) |
| 1122 | ;; comments | 1122 | ;; comments |
| 1123 | (list | 1123 | (list |
| 1124 | (concat "^\\([ \t]*" bibtex-comment-start ".*\\)$") | 1124 | (concat "^\\([ \t]*" bibtex-comment-start ".*\\)$") |
diff --git a/lisp/textmodes/outline.el b/lisp/textmodes/outline.el index 3debce3e189..07b704cc2df 100644 --- a/lisp/textmodes/outline.el +++ b/lisp/textmodes/outline.el | |||
| @@ -156,7 +156,7 @@ in the file it applies to." | |||
| 156 | (3 . font-lock-keyword-face) | 156 | (3 . font-lock-keyword-face) |
| 157 | (4 . font-lock-builtin-face) | 157 | (4 . font-lock-builtin-face) |
| 158 | (5 . font-lock-comment-face) | 158 | (5 . font-lock-comment-face) |
| 159 | (6 . font-lock-reference-face) | 159 | (6 . font-lock-constant-face) |
| 160 | (7 . font-lock-type-face) | 160 | (7 . font-lock-type-face) |
| 161 | (8 . font-lock-string-face)))) | 161 | (8 . font-lock-string-face)))) |
| 162 | font-lock-warning-face) | 162 | font-lock-warning-face) |
diff --git a/lisp/textmodes/reftex.el b/lisp/textmodes/reftex.el index 7668381c311..7ef86a5af6b 100644 --- a/lisp/textmodes/reftex.el +++ b/lisp/textmodes/reftex.el | |||
| @@ -2699,7 +2699,7 @@ When called with 2 C-u prefix args, disable magic word recognition." | |||
| 2699 | (- (point) (length label)) (point) | 2699 | (- (point) (length label)) (point) |
| 2700 | 'face (if comment | 2700 | 'face (if comment |
| 2701 | 'font-lock-comment-face | 2701 | 'font-lock-comment-face |
| 2702 | 'font-lock-reference-face))) | 2702 | 'font-lock-constant-face))) |
| 2703 | 2703 | ||
| 2704 | (insert (if counter (format " (%d) " cnt) "") | 2704 | (insert (if counter (format " (%d) " cnt) "") |
| 2705 | (if comment " LABEL IS COMMENTED OUT " "") | 2705 | (if comment " LABEL IS COMMENTED OUT " "") |
| @@ -4114,7 +4114,7 @@ started with the command \\[reftex-citation].") | |||
| 4114 | authors) | 4114 | authors) |
| 4115 | (put-text-property 0 (length title) 'face 'font-lock-comment-face | 4115 | (put-text-property 0 (length title) 'face 'font-lock-comment-face |
| 4116 | title) | 4116 | title) |
| 4117 | (put-text-property 0 (length extra) 'face 'font-lock-reference-face | 4117 | (put-text-property 0 (length extra) 'face 'font-lock-constant-face |
| 4118 | extra)) | 4118 | extra)) |
| 4119 | (concat key "\n " authors " " year " " extra "\n " title "\n\n"))) | 4119 | (concat key "\n " authors " " year " " extra "\n " title "\n\n"))) |
| 4120 | 4120 | ||