X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/8cf06c7f74ccb33646dabf1553c4fdbbe030ae6a..a457417ee5ba797ab1c91d35ee957bb7a7f8d4b6:/lisp/iimage.el diff --git a/lisp/iimage.el b/lisp/iimage.el index 76e01614f6..f662d9f104 100644 --- a/lisp/iimage.el +++ b/lisp/iimage.el @@ -10,7 +10,7 @@ ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 2, or (at your option) +;; the Free Software Foundation; either version 3, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -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.