summaryrefslogtreecommitdiff
path: root/doc/misc/tramp.texi
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2016-04-30 19:20:12 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2016-05-01 19:27:14 +0200
commit2abc85e41edafbb9c1187c5445056cc07759b4c1 (patch)
tree70cd20a7ada4834c353350015a9cd713d679c88e /doc/misc/tramp.texi
parentec392ff1a3ce6bd4d32371be454003f642812d5b (diff)
downloademacs-2abc85e41edafbb9c1187c5445056cc07759b4c1.tar.gz
Transform mentions of `eval-after-load' to `with-eval-after-load'
* doc/lispref/loading.texi (Hooks for Loading): Update text to not mention `eval-after-load' (bug#20038). (cherry picked from commit 9392193be56eebdfac702a0bbb5e954088371c7a)
Diffstat (limited to 'doc/misc/tramp.texi')
-rw-r--r--doc/misc/tramp.texi6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/misc/tramp.texi b/doc/misc/tramp.texi
index 9320a6e166f..af22f8d6cc7 100644
--- a/doc/misc/tramp.texi
+++ b/doc/misc/tramp.texi
@@ -3390,9 +3390,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