summaryrefslogtreecommitdiff
path: root/lisp/ps-print.el
diff options
context:
space:
mode:
authorJuri Linkov <juri@jurta.org>2005-06-22 12:07:36 +0000
committerJuri Linkov <juri@jurta.org>2005-06-22 12:07:36 +0000
commit8906db2766b910fba8dd74fbb88447ec36ad5d9a (patch)
treec9de0bb91eb1a8b460346fbc9b47c464204358db /lisp/ps-print.el
parent5715f853a06c0520be72f5848e06c5fb17926d35 (diff)
downloademacs-8906db2766b910fba8dd74fbb88447ec36ad5d9a.tar.gz
(ps-face-foreground-name, ps-face-background-name):
Replace aliased functions with calls where second arg `inherit' is t.
Diffstat (limited to 'lisp/ps-print.el')
-rw-r--r--lisp/ps-print.el7
1 files changed, 4 insertions, 3 deletions
diff --git a/lisp/ps-print.el b/lisp/ps-print.el
index 2868ae7d97b..e62ab644a1c 100644
--- a/lisp/ps-print.el
+++ b/lisp/ps-print.el
@@ -1549,9 +1549,10 @@ Please send all bug fixes and enhancements to
(defvar mark-active nil)
(defun ps-mark-active-p ()
mark-active)
- (defalias 'ps-face-foreground-name 'face-foreground)
- (defalias 'ps-face-background-name 'face-background)
- ))
+ (defun ps-face-foreground-name (face)
+ (face-foreground face nil t))
+ (defun ps-face-background-name (face)
+ (face-background face nil t))))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;