From: Lars Ingebrigtsen Date: Tue, 18 Aug 2020 21:12:39 +0000 (+0200) Subject: Remove some compat code from chart.el X-Git-Tag: emacs-28.0.90~6531 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ace7eeb505a2bc49a73be1736421ab9174031f7a;p=emacs.git Remove some compat code from chart.el * lisp/emacs-lisp/chart.el (chart-face-list): set-face-background-pixmap is always defined. --- 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)))))