GNU bug report logs - #26184
25.2; auth-source-delete is broken

Previous Next

Package: emacs;

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

From: Kazuhiro Ito <kzhr <at> d1.dion.ne.jp>
To: 26184 <at> debbugs.gnu.org
Subject: bug#26184: 25.2; auth-source-delete is broken
Date: Mon, 20 Mar 2017 11:55:47 +0900
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




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.