From: Juri Linkov Date: Wed, 22 Jun 2005 12:07:36 +0000 (+0000) Subject: (ps-face-foreground-name, ps-face-background-name): X-Git-Tag: emacs-pretest-22.0.90~8742 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8906db2766b910fba8dd74fbb88447ec36ad5d9a;p=emacs.git (ps-face-foreground-name, ps-face-background-name): Replace aliased functions with calls where second arg `inherit' is t. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 96f68e2dde1..cca0beb894e 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2005-06-22 Juri Linkov + + * ps-print.el (ps-face-foreground-name, ps-face-background-name): + Replace aliased functions with calls where second arg `inherit' is t. + 2005-06-22 Nick Roberts * progmodes/gdb-ui.el (gdb-error): New variable. 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)))) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;