emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master ace7eeb 4/7: Remove some compat code from chart.el


From: Lars Ingebrigtsen
Subject: master ace7eeb 4/7: Remove some compat code from chart.el
Date: Tue, 18 Aug 2020 17:19:18 -0400 (EDT)

branch: master
commit ace7eeb505a2bc49a73be1736421ab9174031f7a
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Remove some compat code from chart.el
    
    * lisp/emacs-lisp/chart.el (chart-face-list):
    set-face-background-pixmap is always defined.
---
 lisp/emacs-lisp/chart.el | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/lisp/emacs-lisp/chart.el b/lisp/emacs-lisp/chart.el
index 2321ac1..964836a 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)))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]