From 8aa41477ba63083a0c48483ea90502a3a660c722 Mon Sep 17 00:00:00 2001 From: Michael Albinus Date: Sun, 1 May 2016 10:14:05 +0200 Subject: [PATCH] tramp.texi: Revert last change due to backward compatibility (cherry picked from commit 910f9a0a936aacbffe9b9b790d7f698dfd287aac) --- doc/misc/tramp.texi | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/doc/misc/tramp.texi b/doc/misc/tramp.texi index af22f8d6cc7..5ce10d298c0 100644 --- a/doc/misc/tramp.texi +++ b/doc/misc/tramp.texi @@ -3390,9 +3390,11 @@ Since @file{filecache} remembers visited places, add the remote directory to the cache: @lisp -(with-eval-after-load "filecache" - (file-cache-add-directory - "@trampfn{ssh,news@@news.my.domain,/opt/news/etc/}")) +@c `with-eval-after-load' has been introduced with Emacs 24.4. Shall +@c be used when appropriate. +(eval-after-load "filecache" + '(file-cache-add-directory + "@trampfn{ssh,news@@news.my.domain,/opt/news/etc/}")) @end lisp Then use directory completion in the minibuffer with @kbd{C-x C-f -- 2.39.2