- `(defvar ,variable nil ,docstring))
-
-;; ELSE
-(with-no-warnings
-(defun ezimage-find-image-on-load-path (image)
- "Find the image file IMAGE on the load path."
- (let ((l (cons
- ;; In XEmacs, try the data directory first (for an
- ;; install in XEmacs proper.) Search the load
- ;; path next (for user installs)
- (locate-data-directory "ezimage")
- load-path))
- (r nil))
- (while (and l (not r))
- (if (file-exists-p (concat (car l) "/" image))
- (setq r (concat (car l) "/" image))
- (if (file-exists-p (concat (car l) "/icons/" image))
- (setq r (concat (car l) "/icons/" image))
- ))
- (setq l (cdr l)))
- r))
-);with-no-warnings
-
-(with-no-warnings
-(defun ezimage-convert-emacs21-imagespec-to-xemacs (spec)
- "Convert the Emacs21 image SPEC into an XEmacs image spec.
+ `(defvar ,variable nil ,docstring))
+
+ (defun ezimage-find-image-on-load-path (image)
+ "Find the image file IMAGE on the load path."
+ (let ((l (cons
+ ;; In XEmacs, try the data directory first (for an
+ ;; install in XEmacs proper.) Search the load
+ ;; path next (for user installs)
+ (locate-data-directory "ezimage")
+ load-path))
+ (r nil))
+ (while (and l (not r))
+ (if (file-exists-p (concat (car l) "/" image))
+ (setq r (concat (car l) "/" image))
+ (if (file-exists-p (concat (car l) "/icons/" image))
+ (setq r (concat (car l) "/icons/" image))
+ ))
+ (setq l (cdr l)))
+ r))
+
+ (defun ezimage-convert-emacs21-imagespec-to-xemacs (spec)
+ "Convert the Emacs21 image SPEC into an XEmacs image spec.