diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2020-08-18 23:12:39 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2020-08-18 23:19:09 +0200 |
commit | ace7eeb505a2bc49a73be1736421ab9174031f7a (patch) | |
tree | 1bcffc6061f4f0c2d5dea05472d85ede8522f70f /lisp/emacs-lisp/chart.el | |
parent | 3c76397bbcad361a17087a24ff706f78b6abde3f (diff) | |
download | emacs-ace7eeb505a2bc49a73be1736421ab9174031f7a.tar.gz |
Remove some compat code from chart.el
* lisp/emacs-lisp/chart.el (chart-face-list):
set-face-background-pixmap is always defined.
Diffstat (limited to 'lisp/emacs-lisp/chart.el')
-rw-r--r-- | lisp/emacs-lisp/chart.el | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lisp/emacs-lisp/chart.el b/lisp/emacs-lisp/chart.el index 2321ac1ed50..964836a32ac 100644 --- a/lisp/emacs-lisp/chart.el +++ b/lisp/emacs-lisp/chart.el @@ -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))))) |