diff options
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.") | |||
| 105 | (car cl) | 105 | (car cl) |
| 106 | "white")) | 106 | "white")) |
| 107 | (set-face-foreground nf "black") | 107 | (set-face-foreground nf "black") |
| 108 | (if (and chart-face-use-pixmaps | 108 | (if (and chart-face-use-pixmaps pl) |
| 109 | pl | ||
| 110 | (fboundp 'set-face-background-pixmap)) | ||
| 111 | (condition-case nil | 109 | (condition-case nil |
| 112 | (set-face-background-pixmap nf (car pl)) | 110 | (set-face-background-pixmap nf (car pl)) |
| 113 | (error (message "Cannot set background pixmap %s" (car pl))))) | 111 | (error (message "Cannot set background pixmap %s" (car pl))))) |