emacs-devel
[Top][All Lists]
Advanced

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

Re: master 516ce2c: * lisp/net/tramp.el (tramp-clear-passwd): Call also


From: Ted Zlatanov
Subject: Re: master 516ce2c: * lisp/net/tramp.el (tramp-clear-passwd): Call also `auth-source-forget'.
Date: Wed, 21 Sep 2016 10:23:25 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

On Wed, 21 Sep 2016 10:00:20 +0000 (UTC) address@hidden (Michael Albinus) 
wrote: 

MA> +  ;; `auth-source-forget' has been obsoleted with Emacs 24.1.  But
MA> +  ;; there is no known replacement.
MA> +  (when (fboundp 'auth-source-forget)
MA> +    (auth-source-forget
MA> +     `(:max 1
MA> +       :user ,(or (tramp-file-name-user vec) t)
MA> +       :host ,(tramp-file-name-host vec)
MA> +       :port ,(tramp-file-name-method vec))))
MA>    (password-cache-remove
MA>     (tramp-make-tramp-file-name
MA>      (tramp-file-name-method vec)

Hi Michael,

I think there's some confusion, here's auth-source.el:

(make-obsolete 'auth-source-forget-user-or-password
               'auth-source-forget "Emacs 24.1")

So `auth-source-forget' is the new interface for
`auth-source-forget-user-or-password'. It's not obsolete. Does that help?

Thanks
Ted




reply via email to

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