diff options
| author | Daiki Ueno | 2012-08-10 14:38:37 +0000 |
|---|---|---|
| committer | Katsumi Yamaoka | 2012-08-10 14:38:37 +0000 |
| commit | a3095f422d5a1ba89b7e5f0c3a8826cb9195fb36 (patch) | |
| tree | a88fe112fcf34bdf25ae0d2e581a0912240e893a | |
| parent | 7961135cf7f9747dc89605abb81006c7c3dbb2c4 (diff) | |
| download | emacs-a3095f422d5a1ba89b7e5f0c3a8826cb9195fb36.tar.gz emacs-a3095f422d5a1ba89b7e5f0c3a8826cb9195fb36.zip | |
lisp/gnus/auth-source.el: (auth-source-plstore-search, auth-source-secrets-search): Ignore :require and :type in search spec
| -rw-r--r-- | lisp/gnus/ChangeLog | 5 | ||||
| -rw-r--r-- | 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 @@ | |||
| 1 | 2012-08-10 Daiki Ueno <ueno@unixuser.org> | ||
| 2 | |||
| 3 | * auth-source.el: (auth-source-plstore-search) | ||
| 4 | (auth-source-secrets-search): Ignore :require and :type in search spec. | ||
| 5 | |||
| 1 | 2012-08-06 Julien Danjou <julien@danjou.info> | 6 | 2012-08-06 Julien Danjou <julien@danjou.info> |
| 2 | 7 | ||
| 3 | * gnus-demon.el (gnus-demon-add-handler, gnus-demon-remove-handler): | 8 | * 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: | |||
| 1532 | 1532 | ||
| 1533 | (let* ((coll (oref backend source)) | 1533 | (let* ((coll (oref backend source)) |
| 1534 | (max (or max 5000)) ; sanity check: default to stop at 5K | 1534 | (max (or max 5000)) ; sanity check: default to stop at 5K |
| 1535 | (ignored-keys '(:create :delete :max :backend :label)) | 1535 | (ignored-keys '(:create :delete :max :backend :label :require :type)) |
| 1536 | (search-keys (loop for i below (length spec) by 2 | 1536 | (search-keys (loop for i below (length spec) by 2 |
| 1537 | unless (memq (nth i spec) ignored-keys) | 1537 | unless (memq (nth i spec) ignored-keys) |
| 1538 | collect (nth i spec))) | 1538 | collect (nth i spec))) |
| @@ -1787,7 +1787,7 @@ entries for git.gnus.org: | |||
| 1787 | "Search the PLSTORE; spec is like `auth-source'." | 1787 | "Search the PLSTORE; spec is like `auth-source'." |
| 1788 | (let* ((store (oref backend data)) | 1788 | (let* ((store (oref backend data)) |
| 1789 | (max (or max 5000)) ; sanity check: default to stop at 5K | 1789 | (max (or max 5000)) ; sanity check: default to stop at 5K |
| 1790 | (ignored-keys '(:create :delete :max :backend :require)) | 1790 | (ignored-keys '(:create :delete :max :backend :label :require :type)) |
| 1791 | (search-keys (loop for i below (length spec) by 2 | 1791 | (search-keys (loop for i below (length spec) by 2 |
| 1792 | unless (memq (nth i spec) ignored-keys) | 1792 | unless (memq (nth i spec) ignored-keys) |
| 1793 | collect (nth i spec))) | 1793 | collect (nth i spec))) |