aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/auth-source.el
diff options
context:
space:
mode:
authorNoam Postavsky2018-07-17 21:00:27 -0400
committerNoam Postavsky2018-07-17 21:28:26 -0400
commitcb50077b1eb7c1467f2f200e01599b391d025bfa (patch)
tree309f59278873fcda9e73e2149211b0e05f172539 /lisp/auth-source.el
parenta4767a662bf360b489059e2cbf028138f2399252 (diff)
downloademacs-cb50077b1eb7c1467f2f200e01599b391d025bfa.tar.gz
emacs-cb50077b1eb7c1467f2f200e01599b391d025bfa.zip
Fix auth-source-delete (Bug#26184)
* lisp/auth-source.el (auth-source-delete): Fix `auth-source-search' call. * test/lisp/auth-source-tests.el (auth-source-delete): New test.
Diffstat (limited to 'lisp/auth-source.el')
-rw-r--r--lisp/auth-source.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/auth-source.el b/lisp/auth-source.el
index b733054ae5f..374b7f1e86c 100644
--- a/lisp/auth-source.el
+++ b/lisp/auth-source.el
@@ -763,7 +763,7 @@ Calls `auth-source-search' with the :delete property in SPEC set to t.
763The backend may not actually delete the entries. 763The backend may not actually delete the entries.
764 764
765Returns the deleted entries." 765Returns the deleted entries."
766 (auth-source-search (plist-put spec :delete t))) 766 (apply #'auth-source-search (plist-put spec :delete t)))
767 767
768(defun auth-source-search-collection (collection value) 768(defun auth-source-search-collection (collection value)
769 "Returns t is VALUE is t or COLLECTION is t or COLLECTION contains VALUE." 769 "Returns t is VALUE is t or COLLECTION is t or COLLECTION contains VALUE."