summaryrefslogtreecommitdiff
path: root/lisp/ps-print.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2001-12-31 20:32:52 +0000
committerRichard M. Stallman <rms@gnu.org>2001-12-31 20:32:52 +0000
commite31c1fd5e46e19e051c2e881303305616bcc1db9 (patch)
treec3d797aa1229d102f9e43721d53f49650434a163 /lisp/ps-print.el
parentb5555381f2fd6872b028b4ef935e39f6f3f2bcc2 (diff)
downloademacs-e31c1fd5e46e19e051c2e881303305616bcc1db9.tar.gz
(ps-font-lock-face-attributes): Use :weight and :slant.
Diffstat (limited to 'lisp/ps-print.el')
-rw-r--r--lisp/ps-print.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/ps-print.el b/lisp/ps-print.el
index b3961f254f4..d4ec875978f 100644
--- a/lisp/ps-print.el
+++ b/lisp/ps-print.el
@@ -4011,9 +4011,9 @@ If EXTENSION is any other symbol, it is ignored."
(setq face-spec (cons ':background
(cons background face-spec))))
(when bold-p
- (setq face-spec (append '(:bold t) face-spec)))
+ (setq face-spec (append '(:weight bold) face-spec)))
(when italic-p
- (setq face-spec (append '(:italic t) face-spec)))
+ (setq face-spec (append '(:slant italic) face-spec)))
(when underline-p
(setq face-spec (append '(:underline t) face-spec)))
(custom-declare-face face (list (list t face-spec)) nil)