tramp-devel
[Top][All Lists]
Advanced

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

Re: Fwd: tramp removes valid recentf files when a remote is unreachable


From: Michael Albinus
Subject: Re: Fwd: tramp removes valid recentf files when a remote is unreachable
Date: Tue, 06 Apr 2021 16:02:22 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Michael Albinus <michael.albinus@gmx.de> writes:

> (remove-hook 'tramp-cleanup-connection-hook
>              #'tramp-recentf-cleanup)
> (remove-hook 'tramp-cleanup-all-connections-hook
>              #'tramp-recentf-cleanup-all))))

Better:

--8<---------------cut here---------------start------------->8---
(remove-hook 'tramp-cleanup-connection-hook
             #'tramp-recentf-cleanup)
(remove-hook 'tramp-cleanup-all-connections-hook
             #'tramp-recentf-cleanup-all)
--8<---------------cut here---------------end--------------->8---

Cut'n'waste, sorry.

Best regards, Michael.



reply via email to

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