diff options
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 |