unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#26184: 25.2; auth-source-delete is broken
@ 2017-03-20  2:55 Kazuhiro Ito
  2018-07-18  1:32 ` Noam Postavsky
  0 siblings, 1 reply; 2+ messages in thread
From: Kazuhiro Ito @ 2017-03-20  2:55 UTC (permalink / raw)
  To: 26184

auth-source-delete function is defined as below.

> (defun auth-source-delete (&rest spec)
>   "Delete entries from the authentication backends according to SPEC.
> Calls `auth-source-search' with the :delete property in SPEC set to t.
> The backend may not actually delete the entries.

> Returns the deleted entries."
>   (auth-source-search (plist-put spec :delete t)))

If you actually use it, an error is raised.  It should be defined as
below.

> (apply 'aurh-source-search (plist-put spec :delete t))

-- 
Kazuhiro Ito





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-07-18  1:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-20  2:55 bug#26184: 25.2; auth-source-delete is broken Kazuhiro Ito
2018-07-18  1:32 ` Noam Postavsky

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).