Mercurial > hg > xemacs-beta
diff lisp/faces.el @ 288:e11d67e05968 r21-0b42
Import from CVS: tag r21-0b42
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:35:54 +0200 |
parents | 57709be46d1b |
children | c9fe270a4101 |
line wrap: on
line diff
--- a/lisp/faces.el Mon Aug 13 10:35:07 2007 +0200 +++ b/lisp/faces.el Mon Aug 13 10:35:54 2007 +0200 @@ -1661,6 +1661,32 @@ ((mswindows default color) . "green")) 'global) +;; Define some logical color names to be used when reading the pixmap files. +(if (featurep 'xpm) + (setq xpm-color-symbols + (list + (purecopy '("foreground" (face-foreground 'default))) + (purecopy '("background" (face-background 'default))) + (purecopy '("backgroundToolBarColor" + (or + (and + (featurep 'x) + (or + (x-get-resource "backgroundToolBarColor" + "BackgroundToolBarColor" 'string) + (x-get-resource "background" "Background" 'string))) + "Gray80"))) + (purecopy '("foregroundToolBarColor" + (or + (and + (featurep 'x) + (or + (x-get-resource "foregroundToolBarColor" + "ForegroundToolBarColor" 'string) + (x-get-resource "foreground" "Foreground" 'string))) + "Black"))) + ))) + (when (featurep 'tty) (set-face-highlight-p 'bold t 'global '(default tty)) (set-face-underline-p 'italic t 'global '(default tty))