(defun mm-image-load-path (&optional package)
(let (dir result)
- (dolist (path load-path (nreverse result))
+ (dolist (path load-path)
(when (and path
(file-directory-p
(setq dir (concat (file-name-directory
(directory-file-name path))
"etc/images/" (or package "gnus/")))))
- (push dir result))
- (push path result))))
+ (push dir result)))
+ (nreverse result)))
;; Fixme: This doesn't look useful where it's used.
(if (fboundp 'detect-coding-region)
(provide 'mm-util)
-;; arch-tag: 94dc5388-825d-4fd1-bfa5-2100aa351238
;;; mm-util.el ends here