GNU bug report logs -
#26184
25.2; auth-source-delete is broken
Previous Next
Reported by: Kazuhiro Ito <kzhr <at> d1.dion.ne.jp>
Date: Mon, 20 Mar 2017 02:57:01 UTC
Severity: normal
Tags: fixed
Found in version 25.2
Fixed in version 26.2
Done: Noam Postavsky <npostavs <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
tags 26184 fixed
close 26184 26.2
quit
Kazuhiro Ito <kzhr <at> d1.dion.ne.jp> 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
This bug report was last modified 7 years and 38 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.