diff options
| author | Dmitry Gutov | 2022-08-15 02:22:59 +0300 |
|---|---|---|
| committer | Dmitry Gutov | 2022-08-15 02:22:59 +0300 |
| commit | ee3a674c7c9e39fe7ff296ce1f9830fc45520de8 (patch) | |
| tree | e8ba1e7be54314f208454e80e3d31044c913f3eb /lisp/net/tramp-crypt.el | |
| parent | fe0e53d963899a16e0dd1bbc1ba10a6b59f7989e (diff) | |
| parent | 0a8e88fd83db5398d36064a7f87cff5b57da7284 (diff) | |
| download | emacs-scratch/font_lock_large_files.tar.gz emacs-scratch/font_lock_large_files.zip | |
Merge branch 'master' into scratch/font_lock_large_filesscratch/font_lock_large_files
Diffstat (limited to 'lisp/net/tramp-crypt.el')
| -rw-r--r-- | lisp/net/tramp-crypt.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/net/tramp-crypt.el b/lisp/net/tramp-crypt.el index 7f385292626..27b359d439b 100644 --- a/lisp/net/tramp-crypt.el +++ b/lisp/net/tramp-crypt.el | |||
| @@ -426,7 +426,7 @@ Otherwise, return NAME." | |||
| 426 | (if (directory-name-p name) #'file-name-as-directory #'identity) | 426 | (if (directory-name-p name) #'file-name-as-directory #'identity) |
| 427 | (concat | 427 | (concat |
| 428 | dir | 428 | dir |
| 429 | (unless (string-equal localname "/") | 429 | (unless (string-match-p (rx (seq bos (opt "/") eos)) localname) |
| 430 | (with-tramp-file-property | 430 | (with-tramp-file-property |
| 431 | crypt-vec localname (concat (symbol-name op) "-file-name") | 431 | crypt-vec localname (concat (symbol-name op) "-file-name") |
| 432 | (unless (tramp-crypt-send-command | 432 | (unless (tramp-crypt-send-command |