From a3095f422d5a1ba89b7e5f0c3a8826cb9195fb36 Mon Sep 17 00:00:00 2001 From: Daiki Ueno Date: Fri, 10 Aug 2012 14:38:37 +0000 Subject: [PATCH] lisp/gnus/auth-source.el: (auth-source-plstore-search, auth-source-secrets-search): Ignore :require and :type in search spec --- lisp/gnus/ChangeLog | 5 +++++ lisp/gnus/auth-source.el | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index f18dcaf9261..2175687cfa9 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog @@ -1,3 +1,8 @@ +2012-08-10 Daiki Ueno + + * auth-source.el: (auth-source-plstore-search) + (auth-source-secrets-search): Ignore :require and :type in search spec. + 2012-08-06 Julien Danjou * gnus-demon.el (gnus-demon-add-handler, gnus-demon-remove-handler): diff --git a/lisp/gnus/auth-source.el b/lisp/gnus/auth-source.el index 79358b401b8..262da447358 100644 --- a/lisp/gnus/auth-source.el +++ b/lisp/gnus/auth-source.el @@ -1532,7 +1532,7 @@ authentication tokens: (let* ((coll (oref backend source)) (max (or max 5000)) ; sanity check: default to stop at 5K - (ignored-keys '(:create :delete :max :backend :label)) + (ignored-keys '(:create :delete :max :backend :label :require :type)) (search-keys (loop for i below (length spec) by 2 unless (memq (nth i spec) ignored-keys) collect (nth i spec))) @@ -1787,7 +1787,7 @@ entries for git.gnus.org: "Search the PLSTORE; spec is like `auth-source'." (let* ((store (oref backend data)) (max (or max 5000)) ; sanity check: default to stop at 5K - (ignored-keys '(:create :delete :max :backend :require)) + (ignored-keys '(:create :delete :max :backend :label :require :type)) (search-keys (loop for i below (length spec) by 2 unless (memq (nth i spec) ignored-keys) collect (nth i spec))) -- 2.39.5