]> code.delx.au - gnu-emacs/commitdiff
tramp.texi: Revert last change due to backward compatibility
authorMichael Albinus <michael.albinus@gmx.de>
Sun, 1 May 2016 08:14:05 +0000 (10:14 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Sun, 1 May 2016 17:27:17 +0000 (19:27 +0200)
(cherry picked from commit 910f9a0a936aacbffe9b9b790d7f698dfd287aac)

doc/misc/tramp.texi

index af22f8d6cc7661917bf64dcfe36a80ff531c5cae..5ce10d298c08a1cec7dc833a3e08dbc0e06be2f2 100644 (file)
@@ -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