diff options
author | Stefan Kangas <stefankangas@gmail.com> | 2019-10-19 01:12:33 +0200 |
---|---|---|
committer | Stefan Kangas <stefankangas@gmail.com> | 2019-10-19 01:13:42 +0200 |
commit | 23520fe33978030213026b5cb9be2e9ca62a31da (patch) | |
tree | 0b931643e249d8bb8c553e5ffef1eb113fe010d4 | |
parent | f9744a5f09fe3d786de8dfb264598bf4d77ece8c (diff) | |
download | emacs-23520fe33978030213026b5cb9be2e9ca62a31da.tar.gz |
Remove XEmacs compat code from ezimage.el
* lisp/ezimage.el (top-level): Remove XEmacs compat code.
-rw-r--r-- | lisp/ezimage.el | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/lisp/ezimage.el b/lisp/ezimage.el index f2b62b27fa9..fc498aac325 100644 --- a/lisp/ezimage.el +++ b/lisp/ezimage.el @@ -29,14 +29,11 @@ ;; The idea is that gui buffers (trees, buttons, etc) will have text ;; representations of the GUI elements. These routines will replace the text ;; with an image when images are available. -;; -;; This file requires the `image' package if it is available. - -(condition-case nil ; for older XEmacs - (require 'image) - (error nil)) ;;; Code: + +(require 'image) + (defcustom ezimage-use-images (and (display-images-p) (image-type-available-p 'xpm)) "Non-nil means ezimage should display icons." |