summaryrefslogtreecommitdiff
path: root/lisp/progmodes/ps-mode.el
diff options
context:
space:
mode:
authorChong Yidong <cyd@gnu.org>2012-09-24 19:39:33 +0800
committerChong Yidong <cyd@gnu.org>2012-09-24 19:39:33 +0800
commit6c27f0f80c4d521dca7b75dcc52a143106561820 (patch)
treeb566b9aa826efb1fd5855e418d392a51bdc1a8aa /lisp/progmodes/ps-mode.el
parent59b517ffa1fa9c3d7a80004962daec53ae374773 (diff)
downloademacs-6c27f0f80c4d521dca7b75dcc52a143106561820.tar.gz
emacs-6c27f0f80c4d521dca7b75dcc52a143106561820.tar.bz2
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.
Diffstat (limited to 'lisp/progmodes/ps-mode.el')
-rw-r--r--lisp/progmodes/ps-mode.el4
1 files changed, 2 insertions, 2 deletions
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'."
;; - 8bit characters (warning face)
;; Multiline strings are not supported. Strings with nested brackets are.
(defconst ps-mode-font-lock-keywords-1
- '(("\\`%!PS.*" . font-lock-reference-face)
+ '(("\\`%!PS.*" . font-lock-constant-face)
("^%%BoundingBox:[ \t]+-?[0-9]+[ \t]+-?[0-9]+[ \t]+-?[0-9]+[ \t]+-?[0-9]+[ \t]*$"
- . font-lock-reference-face)
+ . font-lock-constant-face)
(ps-mode-match-string-or-comment
(1 font-lock-comment-face nil t)
(2 font-lock-string-face nil t))