]> code.delx.au - gnu-emacs/blobdiff - doc/misc/tramp.texi
Transform mentions of `eval-after-load' to `with-eval-after-load'
[gnu-emacs] / doc / misc / tramp.texi
index 45518b2ce79401cc31b6a599f0596ed321769356..3bc83565409a32648d2fc62ab4275e90ae065962 100644 (file)
@@ -3132,9 +3132,9 @@ Since @file{filecache} remembers visited places, add the remote
 directory to the cache:
 
 @lisp
-(eval-after-load "filecache"
-  '(file-cache-add-directory
-    "@trampfn{ssh,news@@news.my.domain,/opt/news/etc/}"))
+(with-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