summaryrefslogtreecommitdiff
path: root/lisp/iimage.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/iimage.el')
-rw-r--r--lisp/iimage.el6
1 files changed, 1 insertions, 5 deletions
diff --git a/lisp/iimage.el b/lisp/iimage.el
index 29d98cbda69..f662d9f1042 100644
--- a/lisp/iimage.el
+++ b/lisp/iimage.el
@@ -109,11 +109,7 @@ Examples of image filename regexps:
(interactive)
(iimage-mode 0))
-;; Emacs21.3 or earlier does not heve locate-file.
-(if (fboundp 'locate-file)
- (defalias 'iimage-locate-file 'locate-file)
- (defun iimage-locate-file (filename path)
- (locate-library filename t path)))
+(defalias 'iimage-locate-file 'locate-file)
(defun iimage-mode-buffer (arg)
"Display/undisplay images.