From: Katsumi Yamaoka Date: Thu, 17 Feb 2011 05:09:02 +0000 (+0000) Subject: auth-source.el (auth-source-secrets-search): Use mm-delete-duplicates instead of... X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~842 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d638ac9ecc2f2fcf7c000ef0aa237826f1a1cda1;p=emacs.git auth-source.el (auth-source-secrets-search): Use mm-delete-duplicates instead of delete-dups that is not available in XEmacs 21.4. --- diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 5891d4b6193..c98c86d46f2 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog @@ -1,3 +1,8 @@ +2011-02-17 Katsumi Yamaoka + + * auth-source.el (auth-source-secrets-search): Use mm-delete-duplicates + instead of delete-dups that is not available in XEmacs 21.4. + 2011-02-16 Lars Ingebrigtsen * gnus-sum.el (gnus-propagate-marks): Change default to t again, since diff --git a/lisp/gnus/auth-source.el b/lisp/gnus/auth-source.el index 2b284e3729d..c3f0f2d5ba5 100644 --- a/lisp/gnus/auth-source.el +++ b/lisp/gnus/auth-source.el @@ -40,6 +40,7 @@ ;;; Code: (require 'password-cache) +(require 'mm-util) (require 'gnus-util) (require 'netrc) (require 'assoc) @@ -1042,9 +1043,9 @@ authentication tokens: (list k (plist-get spec k)))) search-keys))) ;; needed keys (always including host, login, protocol, and secret) - (returned-keys (delete-dups (append - '(:host :login :protocol :secret) - search-keys))) + (returned-keys (mm-delete-duplicates (append + '(:host :login :protocol :secret) + search-keys))) (items (loop for item in (apply 'secrets-search-items coll search-spec) unless (and (stringp label) (not (string-match label item)))