Remove some compat code from chart.el
* lisp/emacs-lisp/chart.el (chart-face-list): set-face-background-pixmap is always defined.
This commit is contained in:
parent
3c76397bbc
commit
ace7eeb505
1 changed files with 1 additions and 3 deletions
|
@ -105,9 +105,7 @@ Useful if new Emacs is used on B&W display.")
|
|||
(car cl)
|
||||
"white"))
|
||||
(set-face-foreground nf "black")
|
||||
(if (and chart-face-use-pixmaps
|
||||
pl
|
||||
(fboundp 'set-face-background-pixmap))
|
||||
(if (and chart-face-use-pixmaps pl)
|
||||
(condition-case nil
|
||||
(set-face-background-pixmap nf (car pl))
|
||||
(error (message "Cannot set background pixmap %s" (car pl)))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue