diff options
| author | Michael Albinus | 2017-03-14 15:10:40 +0100 |
|---|---|---|
| committer | Michael Albinus | 2017-03-14 15:10:40 +0100 |
| commit | 19a04b4c327aab2ac7c3089adf891aa8078ef19c (patch) | |
| tree | e1a482dbded02399abdacb8ad94b68aa957b1eb2 | |
| parent | 0f3d1b782353fd1fc0ab5f89d47d9e790f44e6b2 (diff) | |
| download | emacs-19a04b4c327aab2ac7c3089adf891aa8078ef19c.tar.gz emacs-19a04b4c327aab2ac7c3089adf891aa8078ef19c.zip | |
Tune `tramp-completion-file-name-regexp-unified'
* lisp/net/tramp.el (tramp-completion-file-name-regexp-unified):
Extend this regexp to match also "/".
| -rw-r--r-- | lisp/net/tramp.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el index b1f001a95d9..aadf09e48fe 100644 --- a/lisp/net/tramp.el +++ b/lisp/net/tramp.el | |||
| @@ -879,7 +879,7 @@ initial value is overwritten by the car of `tramp-file-name-structure'.") | |||
| 879 | ;;;###autoload | 879 | ;;;###autoload |
| 880 | (defconst tramp-completion-file-name-regexp-unified | 880 | (defconst tramp-completion-file-name-regexp-unified |
| 881 | (concat | 881 | (concat |
| 882 | "\\`" | 882 | "\\`/\\(" |
| 883 | ;; Optional multi hop. | 883 | ;; Optional multi hop. |
| 884 | "\\([^/|:]+:[^/|:]*|\\)*" | 884 | "\\([^/|:]+:[^/|:]*|\\)*" |
| 885 | ;; Last hop. | 885 | ;; Last hop. |
| @@ -890,7 +890,7 @@ initial value is overwritten by the car of `tramp-file-name-structure'.") | |||
| 890 | "[^/|:]+") | 890 | "[^/|:]+") |
| 891 | ;; Method separator, user name and host name. | 891 | ;; Method separator, user name and host name. |
| 892 | "\\(:[^/|:]*\\)?" | 892 | "\\(:[^/|:]*\\)?" |
| 893 | "\\'") | 893 | "\\)?\\'") |
| 894 | "Value for `tramp-completion-file-name-regexp' for unified remoting. | 894 | "Value for `tramp-completion-file-name-regexp' for unified remoting. |
| 895 | See `tramp-file-name-structure' for more explanations. | 895 | See `tramp-file-name-structure' for more explanations. |
| 896 | 896 | ||