diff options
| author | Chong Yidong | 2012-09-24 19:39:33 +0800 |
|---|---|---|
| committer | Chong Yidong | 2012-09-24 19:39:33 +0800 |
| commit | 6c27f0f80c4d521dca7b75dcc52a143106561820 (patch) | |
| tree | b566b9aa826efb1fd5855e418d392a51bdc1a8aa | |
| parent | 59b517ffa1fa9c3d7a80004962daec53ae374773 (diff) | |
| download | emacs-6c27f0f80c4d521dca7b75dcc52a143106561820.tar.gz emacs-6c27f0f80c4d521dca7b75dcc52a143106561820.zip | |
Fix uses of long-obsolete font-lock-reference face.
* generic-x.el (rul-generic-mode): Use font-lock-constant-face.
* calendar/calendar.el (calendar-font-lock-keywords):
* calendar/diary-lib.el (diary-font-lock-keywords)
(diary-fancy-font-lock-keywords):
* textmodes/reftex-sel.el (reftex-insert-docstruct):
* textmodes/reftex-index.el (reftex-insert-index):
* textmodes/reftex-cite.el (reftex-format-bib-entry):
* progmodes/ruby-mode.el (ruby-font-lock-keywords):
* progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
* progmodes/prolog.el (prolog-font-lock-keywords):
* progmodes/idlwave.el (idlwave-idl-keywords):
* progmodes/ada-mode.el (ada-font-lock-keywords):
* net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
* font-lock.el (font-lock-reference-face): Use
define-obsolete-variable-alias.
| -rw-r--r-- | lisp/ChangeLog | 19 | ||||
| -rw-r--r-- | lisp/calendar/calendar.el | 2 | ||||
| -rw-r--r-- | lisp/calendar/diary-lib.el | 8 | ||||
| -rw-r--r-- | lisp/generic-x.el | 6 | ||||
| -rw-r--r-- | lisp/progmodes/ada-mode.el | 4 | ||||
| -rw-r--r-- | lisp/progmodes/idlwave.el | 10 | ||||
| -rw-r--r-- | lisp/progmodes/prolog.el | 2 | ||||
| -rw-r--r-- | lisp/progmodes/ps-mode.el | 4 | ||||
| -rw-r--r-- | lisp/progmodes/ruby-mode.el | 4 | ||||
| -rw-r--r-- | lisp/textmodes/reftex-cite.el | 5 | ||||
| -rw-r--r-- | lisp/textmodes/reftex-index.el | 4 | ||||
| -rw-r--r-- | lisp/textmodes/reftex-sel.el | 8 | ||||
| -rw-r--r-- | lisp/textmodes/reftex.el | 4 |
13 files changed, 44 insertions, 36 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 6203b2a7790..95c9b7930af 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,22 @@ | |||
| 1 | 2012-09-24 Chong Yidong <cyd@gnu.org> | ||
| 2 | |||
| 3 | * font-lock.el (font-lock-reference-face): Use | ||
| 4 | define-obsolete-variable-alias. | ||
| 5 | |||
| 6 | * generic-x.el (rul-generic-mode): Use font-lock-constant-face. | ||
| 7 | * calendar/calendar.el (calendar-font-lock-keywords): | ||
| 8 | * calendar/diary-lib.el (diary-font-lock-keywords) | ||
| 9 | (diary-fancy-font-lock-keywords): | ||
| 10 | * textmodes/reftex-sel.el (reftex-insert-docstruct): | ||
| 11 | * textmodes/reftex-index.el (reftex-insert-index): | ||
| 12 | * textmodes/reftex-cite.el (reftex-format-bib-entry): | ||
| 13 | * progmodes/ruby-mode.el (ruby-font-lock-keywords): | ||
| 14 | * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1): | ||
| 15 | * progmodes/prolog.el (prolog-font-lock-keywords): | ||
| 16 | * progmodes/idlwave.el (idlwave-idl-keywords): | ||
| 17 | * progmodes/ada-mode.el (ada-font-lock-keywords): | ||
| 18 | * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise. | ||
| 19 | |||
| 1 | 2012-09-24 Glenn Morris <rgm@gnu.org> | 20 | 2012-09-24 Glenn Morris <rgm@gnu.org> |
| 2 | 21 | ||
| 3 | * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'. | 22 | * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'. |
diff --git a/lisp/calendar/calendar.el b/lisp/calendar/calendar.el index 93ef440541e..c85b775d9d3 100644 --- a/lisp/calendar/calendar.el +++ b/lisp/calendar/calendar.el | |||
| @@ -2298,7 +2298,7 @@ Negative years are interpreted as years BC; -1 being 1 BC, and so on." | |||
| 2298 | ;; First two chars of each day are used in the calendar. | 2298 | ;; First two chars of each day are used in the calendar. |
| 2299 | (,(regexp-opt (mapcar (lambda (x) (substring x 0 calendar-day-header-width)) | 2299 | (,(regexp-opt (mapcar (lambda (x) (substring x 0 calendar-day-header-width)) |
| 2300 | calendar-day-name-array)) | 2300 | calendar-day-name-array)) |
| 2301 | . font-lock-reference-face)) | 2301 | . font-lock-constant-face)) |
| 2302 | "Default keywords to highlight in Calendar mode.") | 2302 | "Default keywords to highlight in Calendar mode.") |
| 2303 | 2303 | ||
| 2304 | (defun calendar-day-name (date &optional abbrev absolute) | 2304 | (defun calendar-day-name (date &optional abbrev absolute) |
diff --git a/lisp/calendar/diary-lib.el b/lisp/calendar/diary-lib.el index 4bce8ec0927..27c6f76581c 100644 --- a/lisp/calendar/diary-lib.el +++ b/lisp/calendar/diary-lib.el | |||
| @@ -2400,10 +2400,10 @@ return a font-lock pattern matching array of MONTHS and marking SYMBOL." | |||
| 2400 | (cons | 2400 | (cons |
| 2401 | (format "^%s?\\(%s\\)" (regexp-quote diary-nonmarking-symbol) | 2401 | (format "^%s?\\(%s\\)" (regexp-quote diary-nonmarking-symbol) |
| 2402 | (regexp-quote diary-sexp-entry-symbol)) | 2402 | (regexp-quote diary-sexp-entry-symbol)) |
| 2403 | '(1 font-lock-reference-face)) | 2403 | '(1 font-lock-constant-face)) |
| 2404 | (cons | 2404 | (cons |
| 2405 | (format "^%s" (regexp-quote diary-nonmarking-symbol)) | 2405 | (format "^%s" (regexp-quote diary-nonmarking-symbol)) |
| 2406 | 'font-lock-reference-face) | 2406 | 'font-lock-constant-face) |
| 2407 | (cons | 2407 | (cons |
| 2408 | (format "^%s?%s" (regexp-quote diary-nonmarking-symbol) | 2408 | (format "^%s?%s" (regexp-quote diary-nonmarking-symbol) |
| 2409 | (regexp-opt (mapcar 'regexp-quote | 2409 | (regexp-opt (mapcar 'regexp-quote |
| @@ -2411,7 +2411,7 @@ return a font-lock pattern matching array of MONTHS and marking SYMBOL." | |||
| 2411 | diary-islamic-entry-symbol | 2411 | diary-islamic-entry-symbol |
| 2412 | diary-bahai-entry-symbol)) | 2412 | diary-bahai-entry-symbol)) |
| 2413 | t)) | 2413 | t)) |
| 2414 | '(1 font-lock-reference-face)) | 2414 | '(1 font-lock-constant-face)) |
| 2415 | '(diary-font-lock-sexps . font-lock-keyword-face) | 2415 | '(diary-font-lock-sexps . font-lock-keyword-face) |
| 2416 | ;; Don't need to worry about space around "-" because the first | 2416 | ;; Don't need to worry about space around "-" because the first |
| 2417 | ;; match takes care of that. It does mean the "-" itself may or | 2417 | ;; match takes care of that. It does mean the "-" itself may or |
| @@ -2482,7 +2482,7 @@ This depends on the calendar date style." | |||
| 2482 | (defvar diary-fancy-font-lock-keywords | 2482 | (defvar diary-fancy-font-lock-keywords |
| 2483 | `((diary-fancy-date-matcher . diary-face) | 2483 | `((diary-fancy-date-matcher . diary-face) |
| 2484 | ("^.*\\([aA]nniversary\\|[bB]irthday\\).*$" . 'diary-anniversary) | 2484 | ("^.*\\([aA]nniversary\\|[bB]irthday\\).*$" . 'diary-anniversary) |
| 2485 | ("^.*Yahrzeit.*$" . font-lock-reference-face) | 2485 | ("^.*Yahrzeit.*$" . font-lock-constant-face) |
| 2486 | ("^\\(Erev \\)?Rosh Hodesh.*" . font-lock-function-name-face) | 2486 | ("^\\(Erev \\)?Rosh Hodesh.*" . font-lock-function-name-face) |
| 2487 | ("^Day.*omer.*$" . font-lock-builtin-face) | 2487 | ("^Day.*omer.*$" . font-lock-builtin-face) |
| 2488 | ("^Parashat.*$" . font-lock-comment-face) | 2488 | ("^Parashat.*$" . font-lock-comment-face) |
diff --git a/lisp/generic-x.el b/lisp/generic-x.el index a97c5649c95..ce1599b9010 100644 --- a/lisp/generic-x.el +++ b/lisp/generic-x.el | |||
| @@ -1531,15 +1531,15 @@ like an INI file. You can add this hook to `find-file-hook'." | |||
| 1531 | '("#[ \t]*include[ \t]+\\(<[^>\"\n]+>\\)" | 1531 | '("#[ \t]*include[ \t]+\\(<[^>\"\n]+>\\)" |
| 1532 | 1 font-lock-string-face) | 1532 | 1 font-lock-string-face) |
| 1533 | '("#[ \t]*\\(\\sw+\\)\\>[ \t]*\\(\\sw+\\)?" | 1533 | '("#[ \t]*\\(\\sw+\\)\\>[ \t]*\\(\\sw+\\)?" |
| 1534 | (1 font-lock-reference-face) | 1534 | (1 font-lock-constant-face) |
| 1535 | (2 font-lock-variable-name-face nil t)) | 1535 | (2 font-lock-variable-name-face nil t)) |
| 1536 | ;; indirect string constants | 1536 | ;; indirect string constants |
| 1537 | '("\\(@[A-Za-z][A-Za-z0-9_]+\\)" 1 font-lock-builtin-face) | 1537 | '("\\(@[A-Za-z][A-Za-z0-9_]+\\)" 1 font-lock-builtin-face) |
| 1538 | ;; gotos | 1538 | ;; gotos |
| 1539 | '("[ \t]*\\(\\sw+:\\)" 1 font-lock-reference-face) | 1539 | '("[ \t]*\\(\\sw+:\\)" 1 font-lock-constant-face) |
| 1540 | '("\\<\\(goto\\)\\>[ \t]*\\(\\sw+\\)?" | 1540 | '("\\<\\(goto\\)\\>[ \t]*\\(\\sw+\\)?" |
| 1541 | (1 font-lock-keyword-face) | 1541 | (1 font-lock-keyword-face) |
| 1542 | (2 font-lock-reference-face nil t)) | 1542 | (2 font-lock-constant-face nil t)) |
| 1543 | ;; system variables | 1543 | ;; system variables |
| 1544 | (generic-make-keywords-list | 1544 | (generic-make-keywords-list |
| 1545 | installshield-system-variables-list | 1545 | installshield-system-variables-list |
diff --git a/lisp/progmodes/ada-mode.el b/lisp/progmodes/ada-mode.el index 1825098a55e..745320b6eb2 100644 --- a/lisp/progmodes/ada-mode.el +++ b/lisp/progmodes/ada-mode.el | |||
| @@ -5218,11 +5218,11 @@ Return nil if no body was found." | |||
| 5218 | ;; correctly highlight a with_clause that spans multiple lines. | 5218 | ;; correctly highlight a with_clause that spans multiple lines. |
| 5219 | (list (concat "\\<\\(goto\\|raise\\|use\\|with\\)" | 5219 | (list (concat "\\<\\(goto\\|raise\\|use\\|with\\)" |
| 5220 | "[ \t]+\\([a-zA-Z0-9_., \t]+\\)\\W") | 5220 | "[ \t]+\\([a-zA-Z0-9_., \t]+\\)\\W") |
| 5221 | '(1 font-lock-keyword-face) '(2 font-lock-reference-face nil t)) | 5221 | '(1 font-lock-keyword-face) '(2 font-lock-constant-face nil t)) |
| 5222 | 5222 | ||
| 5223 | ;; | 5223 | ;; |
| 5224 | ;; Goto tags. | 5224 | ;; Goto tags. |
| 5225 | '("<<\\(\\sw+\\)>>" 1 font-lock-reference-face) | 5225 | '("<<\\(\\sw+\\)>>" 1 font-lock-constant-face) |
| 5226 | 5226 | ||
| 5227 | ;; Highlight based-numbers (R. Reagan <robin-reply@reagans.org>) | 5227 | ;; Highlight based-numbers (R. Reagan <robin-reply@reagans.org>) |
| 5228 | (list "\\([0-9]+#[0-9a-fA-F_]+#\\)" '(1 font-lock-constant-face t)) | 5228 | (list "\\([0-9]+#[0-9a-fA-F_]+#\\)" '(1 font-lock-constant-face t)) |
diff --git a/lisp/progmodes/idlwave.el b/lisp/progmodes/idlwave.el index 9b634328fa7..e58fb2b3eab 100644 --- a/lisp/progmodes/idlwave.el +++ b/lisp/progmodes/idlwave.el | |||
| @@ -1151,7 +1151,7 @@ As a user, you should not set this to t.") | |||
| 1151 | (common-blocks | 1151 | (common-blocks |
| 1152 | '("\\<\\(common\\)\\>[ \t]*\\(\\sw+\\)?[ \t]*,?" | 1152 | '("\\<\\(common\\)\\>[ \t]*\\(\\sw+\\)?[ \t]*,?" |
| 1153 | (1 font-lock-keyword-face) ; "common" | 1153 | (1 font-lock-keyword-face) ; "common" |
| 1154 | (2 font-lock-reference-face nil t) ; block name | 1154 | (2 font-lock-constant-face nil t) ; block name |
| 1155 | ("[ \t]*\\(\\sw+\\)[ ,]*" | 1155 | ("[ \t]*\\(\\sw+\\)[ ,]*" |
| 1156 | ;; Start with point after block name and comma | 1156 | ;; Start with point after block name and comma |
| 1157 | (goto-char (match-end 0)) ; needed for XEmacs, could be nil | 1157 | (goto-char (match-end 0)) ; needed for XEmacs, could be nil |
| @@ -1169,20 +1169,20 @@ As a user, you should not set this to t.") | |||
| 1169 | 1169 | ||
| 1170 | ;; Labels | 1170 | ;; Labels |
| 1171 | (label | 1171 | (label |
| 1172 | '("^[ \t]*\\([a-zA-Z]\\sw*:\\)" (1 font-lock-reference-face))) | 1172 | '("^[ \t]*\\([a-zA-Z]\\sw*:\\)" (1 font-lock-constant-face))) |
| 1173 | 1173 | ||
| 1174 | ;; The goto statement and its label | 1174 | ;; The goto statement and its label |
| 1175 | (goto | 1175 | (goto |
| 1176 | '("\\(goto\\)[ \t]*,[ \t]*\\([a-zA-Z]\\sw*\\)" | 1176 | '("\\(goto\\)[ \t]*,[ \t]*\\([a-zA-Z]\\sw*\\)" |
| 1177 | (1 font-lock-keyword-face) | 1177 | (1 font-lock-keyword-face) |
| 1178 | (2 font-lock-reference-face))) | 1178 | (2 font-lock-constant-face))) |
| 1179 | 1179 | ||
| 1180 | ;; Tags in structure definitions. Note that this definition | 1180 | ;; Tags in structure definitions. Note that this definition |
| 1181 | ;; actually collides with labels, so we have to use the same | 1181 | ;; actually collides with labels, so we have to use the same |
| 1182 | ;; face. It also matches named subscript ranges, | 1182 | ;; face. It also matches named subscript ranges, |
| 1183 | ;; e.g. vec{bottom:top]. No good way around this. | 1183 | ;; e.g. vec{bottom:top]. No good way around this. |
| 1184 | (structtag | 1184 | (structtag |
| 1185 | '("\\<\\([a-zA-Z][a-zA-Z0-9_]*:\\)[^:]" (1 font-lock-reference-face))) | 1185 | '("\\<\\([a-zA-Z][a-zA-Z0-9_]*:\\)[^:]" (1 font-lock-constant-face))) |
| 1186 | 1186 | ||
| 1187 | ;; Structure names | 1187 | ;; Structure names |
| 1188 | (structname | 1188 | (structname |
| @@ -1195,7 +1195,7 @@ As a user, you should not set this to t.") | |||
| 1195 | ;; fontification. Slow, use it only in fancy fontification. | 1195 | ;; fontification. Slow, use it only in fancy fontification. |
| 1196 | (keyword-parameters | 1196 | (keyword-parameters |
| 1197 | '("\\(,\\|[a-zA-Z0-9_](\\)[ \t]*\\(\\$[ \t]*\\(;.*\\)?\n\\([ \t]*\\(;.*\\)?\n\\)*[ \t]*\\)?\\(/[a-zA-Z_]\\sw*\\|[a-zA-Z_]\\sw*[ \t]*=\\)" | 1197 | '("\\(,\\|[a-zA-Z0-9_](\\)[ \t]*\\(\\$[ \t]*\\(;.*\\)?\n\\([ \t]*\\(;.*\\)?\n\\)*[ \t]*\\)?\\(/[a-zA-Z_]\\sw*\\|[a-zA-Z_]\\sw*[ \t]*=\\)" |
| 1198 | (6 font-lock-reference-face))) | 1198 | (6 font-lock-constant-face))) |
| 1199 | 1199 | ||
| 1200 | ;; System variables start with a bang. | 1200 | ;; System variables start with a bang. |
| 1201 | (system-variables | 1201 | (system-variables |
diff --git a/lisp/progmodes/prolog.el b/lisp/progmodes/prolog.el index 33d43cb3d5a..99df94d3805 100644 --- a/lisp/progmodes/prolog.el +++ b/lisp/progmodes/prolog.el | |||
| @@ -2110,7 +2110,7 @@ Argument BOUND is a buffer position limiting searching." | |||
| 2110 | (if (eq prolog-system 'mercury) | 2110 | (if (eq prolog-system 'mercury) |
| 2111 | (list | 2111 | (list |
| 2112 | (prolog-make-keywords-regexp prolog-mode-specificators-i t) | 2112 | (prolog-make-keywords-regexp prolog-mode-specificators-i t) |
| 2113 | 0 'font-lock-reference-face))) | 2113 | 0 'font-lock-constant-face))) |
| 2114 | (directives | 2114 | (directives |
| 2115 | (if (eq prolog-system 'mercury) | 2115 | (if (eq prolog-system 'mercury) |
| 2116 | (list | 2116 | (list |
diff --git a/lisp/progmodes/ps-mode.el b/lisp/progmodes/ps-mode.el index bf52eff8f9a..a8fc11f71c0 100644 --- a/lisp/progmodes/ps-mode.el +++ b/lisp/progmodes/ps-mode.el | |||
| @@ -213,9 +213,9 @@ If nil, use `temporary-file-directory'." | |||
| 213 | ;; - 8bit characters (warning face) | 213 | ;; - 8bit characters (warning face) |
| 214 | ;; Multiline strings are not supported. Strings with nested brackets are. | 214 | ;; Multiline strings are not supported. Strings with nested brackets are. |
| 215 | (defconst ps-mode-font-lock-keywords-1 | 215 | (defconst ps-mode-font-lock-keywords-1 |
| 216 | '(("\\`%!PS.*" . font-lock-reference-face) | 216 | '(("\\`%!PS.*" . font-lock-constant-face) |
| 217 | ("^%%BoundingBox:[ \t]+-?[0-9]+[ \t]+-?[0-9]+[ \t]+-?[0-9]+[ \t]+-?[0-9]+[ \t]*$" | 217 | ("^%%BoundingBox:[ \t]+-?[0-9]+[ \t]+-?[0-9]+[ \t]+-?[0-9]+[ \t]+-?[0-9]+[ \t]*$" |
| 218 | . font-lock-reference-face) | 218 | . font-lock-constant-face) |
| 219 | (ps-mode-match-string-or-comment | 219 | (ps-mode-match-string-or-comment |
| 220 | (1 font-lock-comment-face nil t) | 220 | (1 font-lock-comment-face nil t) |
| 221 | (2 font-lock-string-face nil t)) | 221 | (2 font-lock-string-face nil t)) |
diff --git a/lisp/progmodes/ruby-mode.el b/lisp/progmodes/ruby-mode.el index 0f02e81cbad..84cf7308d75 100644 --- a/lisp/progmodes/ruby-mode.el +++ b/lisp/progmodes/ruby-mode.el | |||
| @@ -1567,7 +1567,7 @@ See `font-lock-syntax-table'.") | |||
| 1567 | 2 font-lock-variable-name-face) | 1567 | 2 font-lock-variable-name-face) |
| 1568 | ;; symbols | 1568 | ;; symbols |
| 1569 | '("\\(^\\|[^:]\\)\\(:\\([-+~]@?\\|[/%&|^`]\\|\\*\\*?\\|<\\(<\\|=>?\\)?\\|>[>=]?\\|===?\\|=~\\|![~=]?\\|\\[\\]=?\\|@?\\(\\w\\|_\\)+\\([!?=]\\|\\b_*\\)\\|#{[^}\n\\\\]*\\(\\\\.[^}\n\\\\]*\\)*}\\)\\)" | 1569 | '("\\(^\\|[^:]\\)\\(:\\([-+~]@?\\|[/%&|^`]\\|\\*\\*?\\|<\\(<\\|=>?\\)?\\|>[>=]?\\|===?\\|=~\\|![~=]?\\|\\[\\]=?\\|@?\\(\\w\\|_\\)+\\([!?=]\\|\\b_*\\)\\|#{[^}\n\\\\]*\\(\\\\.[^}\n\\\\]*\\)*}\\)\\)" |
| 1570 | 2 font-lock-reference-face) | 1570 | 2 font-lock-constant-face) |
| 1571 | ;; variables | 1571 | ;; variables |
| 1572 | '("\\(\\$\\([^a-zA-Z0-9 \n]\\|[0-9]\\)\\)\\W" | 1572 | '("\\(\\$\\([^a-zA-Z0-9 \n]\\|[0-9]\\)\\)\\W" |
| 1573 | 1 font-lock-variable-name-face) | 1573 | 1 font-lock-variable-name-face) |
| @@ -1576,7 +1576,7 @@ See `font-lock-syntax-table'.") | |||
| 1576 | ;; constants | 1576 | ;; constants |
| 1577 | '("\\(^\\|[^_]\\)\\b\\([A-Z]+\\(\\w\\|_\\)*\\)" | 1577 | '("\\(^\\|[^_]\\)\\b\\([A-Z]+\\(\\w\\|_\\)*\\)" |
| 1578 | 2 font-lock-type-face) | 1578 | 2 font-lock-type-face) |
| 1579 | '("\\(^\\s *\\|[\[\{\(,]\\s *\\|\\sw\\s +\\)\\(\\(\\sw\\|_\\)+\\):[^:]" 2 font-lock-reference-face) | 1579 | '("\\(^\\s *\\|[\[\{\(,]\\s *\\|\\sw\\s +\\)\\(\\(\\sw\\|_\\)+\\):[^:]" 2 font-lock-constant-face) |
| 1580 | ;; expression expansion | 1580 | ;; expression expansion |
| 1581 | '(ruby-match-expression-expansion | 1581 | '(ruby-match-expression-expansion |
| 1582 | 0 font-lock-variable-name-face t) | 1582 | 0 font-lock-variable-name-face t) |
diff --git a/lisp/textmodes/reftex-cite.el b/lisp/textmodes/reftex-cite.el index 31001c78e54..229d12b2906 100644 --- a/lisp/textmodes/reftex-cite.el +++ b/lisp/textmodes/reftex-cite.el | |||
| @@ -542,10 +542,7 @@ | |||
| 542 | (t "")))) | 542 | (t "")))) |
| 543 | (setq authors (reftex-truncate authors 30 t t)) | 543 | (setq authors (reftex-truncate authors 30 t t)) |
| 544 | (when (reftex-use-fonts) | 544 | (when (reftex-use-fonts) |
| 545 | (put-text-property 0 (length key) 'face | 545 | (put-text-property 0 (length key) 'face reftex-label-face |
| 546 | (reftex-verified-face reftex-label-face | ||
| 547 | 'font-lock-constant-face | ||
| 548 | 'font-lock-reference-face) | ||
| 549 | key) | 546 | key) |
| 550 | (put-text-property 0 (length authors) 'face reftex-bib-author-face | 547 | (put-text-property 0 (length authors) 'face reftex-bib-author-face |
| 551 | authors) | 548 | authors) |
diff --git a/lisp/textmodes/reftex-index.el b/lisp/textmodes/reftex-index.el index 2d395fe3df2..1d15dfbed7e 100644 --- a/lisp/textmodes/reftex-index.el +++ b/lisp/textmodes/reftex-index.el | |||
| @@ -585,9 +585,7 @@ SPC=view TAB=goto RET=goto+hide [e]dit [q]uit [r]escan [f]ollow [?]Help | |||
| 585 | (if (memq reftex-highlight-selection '(mouse both)) | 585 | (if (memq reftex-highlight-selection '(mouse both)) |
| 586 | reftex-mouse-selected-face | 586 | reftex-mouse-selected-face |
| 587 | nil)) | 587 | nil)) |
| 588 | (index-face (reftex-verified-face reftex-label-face | 588 | (index-face reftex-label-face) |
| 589 | 'font-lock-constant-face | ||
| 590 | 'font-lock-reference-face)) | ||
| 591 | sublist cell from to first-char) | 589 | sublist cell from to first-char) |
| 592 | 590 | ||
| 593 | ;; Make the sublist and sort it | 591 | ;; Make the sublist and sort it |
diff --git a/lisp/textmodes/reftex-sel.el b/lisp/textmodes/reftex-sel.el index 627dfba0071..1a400436311 100644 --- a/lisp/textmodes/reftex-sel.el +++ b/lisp/textmodes/reftex-sel.el | |||
| @@ -245,12 +245,8 @@ During a selection process, these are the local bindings. | |||
| 245 | (if (memq reftex-highlight-selection '(mouse both)) | 245 | (if (memq reftex-highlight-selection '(mouse both)) |
| 246 | reftex-mouse-selected-face | 246 | reftex-mouse-selected-face |
| 247 | nil)) | 247 | nil)) |
| 248 | (label-face (reftex-verified-face reftex-label-face | 248 | (label-face reftex-label-face) |
| 249 | 'font-lock-constant-face | 249 | (index-face reftex-index-face) |
| 250 | 'font-lock-reference-face)) | ||
| 251 | (index-face (reftex-verified-face reftex-index-face | ||
| 252 | 'font-lock-constant-face | ||
| 253 | 'font-lock-reference-face)) | ||
| 254 | all cell text label typekey note comment master-dir-re | 250 | all cell text label typekey note comment master-dir-re |
| 255 | prev-inserted offset from to index-tag docstruct-symbol) | 251 | prev-inserted offset from to index-tag docstruct-symbol) |
| 256 | 252 | ||
diff --git a/lisp/textmodes/reftex.el b/lisp/textmodes/reftex.el index 8584c496a97..8318dc0d5f3 100644 --- a/lisp/textmodes/reftex.el +++ b/lisp/textmodes/reftex.el | |||
| @@ -2311,9 +2311,7 @@ IGNORE-WORDS List of words which should be removed from the string." | |||
| 2311 | ;; Return the first valid face in FACES, or nil if none is valid. | 2311 | ;; Return the first valid face in FACES, or nil if none is valid. |
| 2312 | ;; Also, when finding a nil element in FACES, return nil. This | 2312 | ;; Also, when finding a nil element in FACES, return nil. This |
| 2313 | ;; function is just a safety net to catch name changes of builtin | 2313 | ;; function is just a safety net to catch name changes of builtin |
| 2314 | ;; fonts. Currently it is only used for reftex-label-face, which has | 2314 | ;; fonts. Currently it is only used for reftex-label-face. |
| 2315 | ;; as default font-lock-reference-face, which was recently renamed | ||
| 2316 | ;; to font-lock-constant-face. | ||
| 2317 | (let (face) | 2315 | (let (face) |
| 2318 | (catch 'exit | 2316 | (catch 'exit |
| 2319 | (while (setq face (pop faces)) | 2317 | (while (setq face (pop faces)) |