aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorMichael Albinus2018-02-05 14:02:49 +0100
committerMichael Albinus2018-02-05 14:02:49 +0100
commitc24c5dc4a4cc18e7f1ec949efcfe1d4bae541d02 (patch)
tree094f175c3e001aab5ec37a18a7db0ae3175bf6a9 /doc
parent8fbf28536ee1169f59206523e2af050916befbf6 (diff)
downloademacs-c24c5dc4a4cc18e7f1ec949efcfe1d4bae541d02.tar.gz
emacs-c24c5dc4a4cc18e7f1ec949efcfe1d4bae541d02.zip
Fix inconsistency expanding "//" in Tramp
* doc/misc/tramp.texi (File name completion): Adapt example expanding "//". * lisp/net/tramp.el (tramp-handle-substitute-in-file-name): "//" shall expand the localname only, even when on top of the local part. * test/lisp/net/tramp-tests.el (tramp-test04-substitute-in-file-name): Adapt test.
Diffstat (limited to 'doc')
-rw-r--r--doc/misc/tramp.texi2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/misc/tramp.texi b/doc/misc/tramp.texi
index 235627cc0f9..ae544b08712 100644
--- a/doc/misc/tramp.texi
+++ b/doc/misc/tramp.texi
@@ -2509,7 +2509,7 @@ Example:
2509 @print{} @trampfn{ssh,melancholia,/etc} 2509 @print{} @trampfn{ssh,melancholia,/etc}
2510 2510
2511@kbd{C-x C-f @trampfn{ssh,melancholia,//etc} @key{TAB}} 2511@kbd{C-x C-f @trampfn{ssh,melancholia,//etc} @key{TAB}}
2512 @print{} /etc 2512 @print{} @trampfn{ssh,melancholia,/etc}
2513 2513
2514@kbd{C-x C-f @trampfn{ssh,melancholia,/usr/local/bin///etc} @key{TAB}} 2514@kbd{C-x C-f @trampfn{ssh,melancholia,/usr/local/bin///etc} @key{TAB}}
2515 @print{} /etc 2515 @print{} /etc