Function: auth-source-forget

auth-source-forget is a byte-compiled function defined in auth-source.el.gz.

Signature

(auth-source-forget SPEC)

Documentation

Forget any cached data matching SPEC exactly.

This is the same SPEC you passed to auth-source-search. Returns t or nil for forgotten or not found.

Source Code

;; Defined in /usr/src/emacs/lisp/auth-source.el.gz
(defun auth-source-forget (spec)
  "Forget any cached data matching SPEC exactly.

This is the same SPEC you passed to `auth-source-search'.
Returns t or nil for forgotten or not found."
  (password-cache-remove (auth-source-format-cache-entry spec)))