diff options
| author | Michael Albinus | 2017-05-02 16:30:55 +0200 |
|---|---|---|
| committer | Michael Albinus | 2017-05-02 16:30:55 +0200 |
| commit | b50dda3fa2d21973cd87b537a746f5ed70bdc9af (patch) | |
| tree | 3922c514770a62cfe92c29290529f5ada05a49ee /lisp | |
| parent | 5f75304f61d6533a8a8dcad1da3b5a223bceaa71 (diff) | |
| download | emacs-b50dda3fa2d21973cd87b537a746f5ed70bdc9af.tar.gz emacs-b50dda3fa2d21973cd87b537a746f5ed70bdc9af.zip | |
Fix error in completion for separate Tramp syntax
* lisp/net/tramp.el (tramp-completion-file-name-regexp-separate):
Tweak regexp.
* test/lisp/net/tramp-tests.el (tramp-test24-file-name-completion):
Run method and host name completion for all syntaxes.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/net/tramp.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el index 56a7b377124..33e5900f3c2 100644 --- a/lisp/net/tramp.el +++ b/lisp/net/tramp.el | |||
| @@ -945,7 +945,7 @@ See `tramp-file-name-structure' for more explanations. | |||
| 945 | On W32 systems, the volume letter must be ignored.") | 945 | On W32 systems, the volume letter must be ignored.") |
| 946 | 946 | ||
| 947 | (defconst tramp-completion-file-name-regexp-separate | 947 | (defconst tramp-completion-file-name-regexp-separate |
| 948 | "\\`/\\[[^]]*\\'" | 948 | "\\`/\\(\\[[^]]*\\)?\\'" |
| 949 | "Value for `tramp-completion-file-name-regexp' for separate remoting. | 949 | "Value for `tramp-completion-file-name-regexp' for separate remoting. |
| 950 | See `tramp-file-name-structure' for more explanations.") | 950 | See `tramp-file-name-structure' for more explanations.") |
| 951 | 951 | ||