]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/gnus/mailcap.el: Remove usage of mailcap-delete-duplicates.
authorLars Ingebrigtsen <larsi@gnus.org>
Fri, 12 Feb 2016 05:35:23 +0000 (16:35 +1100)
committerLars Ingebrigtsen <larsi@gnus.org>
Fri, 12 Feb 2016 05:35:23 +0000 (16:35 +1100)
lisp/gnus/mailcap.el

index de8e83800f97cc2e0749b39a2fc9ce6d898f4469..a82768fed043c3538ca302a0506fc1cd2f6075d0 100644 (file)
@@ -995,14 +995,14 @@ If FORCE, re-parse even if already parsed."
   (mailcap-parse-mimetypes)
   (let* ((all-mime-type
          ;; All unique MIME types from file extensions
-         (mailcap-delete-duplicates
+         (delete-dups
           (mapcar (lambda (file)
                     (mailcap-extension-to-mime
                      (file-name-extension file t)))
                   files)))
         (all-mime-info
          ;; All MIME info lists
-         (mailcap-delete-duplicates
+         (delete-dups
           (mapcar (lambda (mime-type)
                     (mailcap-mime-info mime-type 'all))
                   all-mime-type)))
@@ -1020,7 +1020,7 @@ If FORCE, re-parse even if already parsed."
            (car all-mime-info)))
         (commands
          ;; Command strings from `viewer' field of the MIME info
-         (mailcap-delete-duplicates
+         (delete-dups
           (delq nil (mapcar
                      (lambda (mime-info)
                        (let ((command (cdr (assoc 'viewer mime-info))))