bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#26184: 25.2; auth-source-delete is broken


From: Noam Postavsky
Subject: bug#26184: 25.2; auth-source-delete is broken
Date: Tue, 17 Jul 2018 21:32:13 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

tags 26184 fixed
close 26184 26.2
quit

Kazuhiro Ito <address@hidden> writes:

> 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))

Fixed and added test in emacs-26.

[1: cb50077b1e]: 2018-07-17 21:28:26 -0400
  Fix auth-source-delete (Bug#26184)
  
https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=cb50077b1eb7c1467f2f200e01599b391d025bfa





reply via email to

[Prev in Thread] Current Thread [Next in Thread]