aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Kangas2019-10-19 01:12:33 +0200
committerStefan Kangas2019-10-19 01:13:42 +0200
commit23520fe33978030213026b5cb9be2e9ca62a31da (patch)
tree0b931643e249d8bb8c553e5ffef1eb113fe010d4
parentf9744a5f09fe3d786de8dfb264598bf4d77ece8c (diff)
downloademacs-23520fe33978030213026b5cb9be2e9ca62a31da.tar.gz
emacs-23520fe33978030213026b5cb9be2e9ca62a31da.zip
Remove XEmacs compat code from ezimage.el
* lisp/ezimage.el (top-level): Remove XEmacs compat code.
-rw-r--r--lisp/ezimage.el9
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 @@
29;; The idea is that gui buffers (trees, buttons, etc) will have text 29;; The idea is that gui buffers (trees, buttons, etc) will have text
30;; representations of the GUI elements. These routines will replace the text 30;; representations of the GUI elements. These routines will replace the text
31;; with an image when images are available. 31;; with an image when images are available.
32;;
33;; This file requires the `image' package if it is available.
34
35(condition-case nil ; for older XEmacs
36 (require 'image)
37 (error nil))
38 32
39;;; Code: 33;;; Code:
34
35(require 'image)
36
40(defcustom ezimage-use-images (and (display-images-p) 37(defcustom ezimage-use-images (and (display-images-p)
41 (image-type-available-p 'xpm)) 38 (image-type-available-p 'xpm))
42 "Non-nil means ezimage should display icons." 39 "Non-nil means ezimage should display icons."