From: Michael Albinus Date: Sun, 10 Dec 2017 09:48:34 +0000 (+0100) Subject: * doc/misc/tramp.texi (Archive file names): Precise example. X-Git-Tag: emacs-27.0.90~6058 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=402e790ad4cff87d0e40e516a15553c408f12de1;p=emacs.git * doc/misc/tramp.texi (Archive file names): Precise example. --- 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