From 402e790ad4cff87d0e40e516a15553c408f12de1 Mon Sep 17 00:00:00 2001 From: Michael Albinus Date: Sun, 10 Dec 2017 10:48:34 +0100 Subject: [PATCH] * doc/misc/tramp.texi (Archive file names): Precise example. --- doc/misc/tramp.texi | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/doc/misc/tramp.texi b/doc/misc/tramp.texi index 3869e19fb96..db2f14b8dfd 100644 --- a/doc/misc/tramp.texi +++ b/doc/misc/tramp.texi @@ -3100,15 +3100,19 @@ similar @samp{/scp:user@@host:...}. See the constant @code{tramp-archive-all-gvfs-methods} for a complete list of @code{tramp-gvfs} supported method names. -If @code{url-handler-mode} is enabled, archives could be visited via -URLs, like @file{https://ftp.gnu.org/gnu/tramp/tramp-2.3.2.tar.gz/INSTALL}. -This allows complex file operations like +If @value{tramp} is loaded and @code{url-handler-mode} is enabled, +archives could be visited via URLs, like +@file{https://ftp.gnu.org/gnu/tramp/tramp-2.3.2.tar.gz/INSTALL}. This +allows complex file operations like @lisp @group -(ediff-directories - "https://ftp.gnu.org/gnu/tramp/tramp-2.3.1.tar.gz/tramp-2.3.1" - "https://ftp.gnu.org/gnu/tramp/tramp-2.3.2.tar.gz/tramp-2.3.2" "") +(progn + (require 'tramp) + (url-handler-mode 1) + (ediff-directories + "https://ftp.gnu.org/gnu/tramp/tramp-2.3.1.tar.gz/tramp-2.3.1" + "https://ftp.gnu.org/gnu/tramp/tramp-2.3.2.tar.gz/tramp-2.3.2" "")) @end group @end lisp -- 2.39.5