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