diff options
| author | Michael Albinus | 2017-04-09 13:28:24 +0200 |
|---|---|---|
| committer | Michael Albinus | 2017-04-09 13:28:24 +0200 |
| commit | 9e1f45d98f82278845b57fce9796142c8e3bf778 (patch) | |
| tree | 12916051287d878b35c9b67fd788f4cd5b6aa9e2 /lisp | |
| parent | 43bc45ba1697b60c4589cb0c8e30cf1618275582 (diff) | |
| download | emacs-9e1f45d98f82278845b57fce9796142c8e3bf778.tar.gz emacs-9e1f45d98f82278845b57fce9796142c8e3bf778.zip | |
Document Tramp changes
* doc/misc/tramp.texi (Change file name syntax): New node.
* etc/NEWS: Mention `tramp-change-syntax'.
* lisp/net/tramp.el (tramp-file-name-regexp): Reinsert it.
External packages uses it.
(tramp-syntax): Set also `tramp-file-name-regexp'.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/net/tramp.el | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lisp/net/tramp.el b/lisp/net/tramp.el index 818054676e4..eb32bd6e0ed 100644 --- a/lisp/net/tramp.el +++ b/lisp/net/tramp.el | |||
| @@ -687,6 +687,8 @@ It can have the following values: | |||
| 687 | (tramp-cleanup-all-buffers)) | 687 | (tramp-cleanup-all-buffers)) |
| 688 | ;; Set the value: | 688 | ;; Set the value: |
| 689 | (set-default symbol value) | 689 | (set-default symbol value) |
| 690 | ;; Reset `tramp-file-name-regexp'. | ||
| 691 | (setq tramp-file-name-regexp (tramp-file-name-regexp)) | ||
| 690 | ;; Rearrange file name handlers. | 692 | ;; Rearrange file name handlers. |
| 691 | (tramp-register-file-name-handlers))) | 693 | (tramp-register-file-name-handlers))) |
| 692 | 694 | ||
| @@ -892,6 +894,13 @@ This regexp should match Tramp file names but no other file names." | |||
| 892 | "Value for `tramp-file-name-regexp' for autoload. | 894 | "Value for `tramp-file-name-regexp' for autoload. |
| 893 | It must match the initial `tramp-syntax' settings.") | 895 | It must match the initial `tramp-syntax' settings.") |
| 894 | 896 | ||
| 897 | ;; External packages use constant `tramp-file-name-regexp'. In order | ||
| 898 | ;; not to break them, we still provide it. It is a variable now. | ||
| 899 | ;;;###autoload | ||
| 900 | (defvar tramp-file-name-regexp tramp-initial-file-name-regexp | ||
| 901 | "Value for `tramp-file-name-regexp' for autoload. | ||
| 902 | It must match the initial `tramp-syntax' settings.") | ||
| 903 | |||
| 895 | ;;;###autoload | 904 | ;;;###autoload |
| 896 | (defconst tramp-completion-file-name-regexp-default | 905 | (defconst tramp-completion-file-name-regexp-default |
| 897 | (concat | 906 | (concat |