emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 402e790: * doc/misc/tramp.texi (Archive file names)


From: Michael Albinus
Subject: [Emacs-diffs] master 402e790: * doc/misc/tramp.texi (Archive file names): Precise example.
Date: Sun, 10 Dec 2017 04:53:19 -0500 (EST)

branch: master
commit 402e790ad4cff87d0e40e516a15553c408f12de1
Author: Michael Albinus <address@hidden>
Commit: Michael Albinus <address@hidden>

    * 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 3869e19..db2f14b 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
address@hidden://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
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]