emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master 23520fe: Remove XEmacs compat code from ezimage.el


From: Stefan Kangas
Subject: [Emacs-diffs] master 23520fe: Remove XEmacs compat code from ezimage.el
Date: Fri, 18 Oct 2019 19:14:27 -0400 (EDT)

branch: master
commit 23520fe33978030213026b5cb9be2e9ca62a31da
Author: Stefan Kangas <address@hidden>
Commit: Stefan Kangas <address@hidden>

    Remove XEmacs compat code from ezimage.el
    
    * lisp/ezimage.el (top-level): Remove XEmacs compat code.
---
 lisp/ezimage.el | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/lisp/ezimage.el b/lisp/ezimage.el
index f2b62b2..fc498aa 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."



reply via email to

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