]> git.eshelyaron.com Git - emacs.git/commitdiff
(ps-face-foreground-name, ps-face-background-name):
authorJuri Linkov <juri@jurta.org>
Wed, 22 Jun 2005 12:07:36 +0000 (12:07 +0000)
committerJuri Linkov <juri@jurta.org>
Wed, 22 Jun 2005 12:07:36 +0000 (12:07 +0000)
Replace aliased functions with calls where second arg `inherit' is t.

lisp/ChangeLog
lisp/ps-print.el

index 96f68e2dde16032f7136a8db19b646bb11008579..cca0beb894e4d534bf9f2d9d228ea004c43fba41 100644 (file)
@@ -1,3 +1,8 @@
+2005-06-22  Juri Linkov  <juri@jurta.org>
+
+       * 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  <nickrob@snap.net.nz>
 
        * progmodes/gdb-ui.el (gdb-error): New variable.
index 2868ae7d97bd4ef6dd8c9667f071db0c07513cd6..e62ab644a1cd8c4b4d9c55b32528a804e824c309 100644 (file)
@@ -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))))
 
 
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;