diff options
Diffstat (limited to 'lisp/net/tramp-sshfs.el')
-rw-r--r-- | lisp/net/tramp-sshfs.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/net/tramp-sshfs.el b/lisp/net/tramp-sshfs.el index 0ec2a1e74b8..c638d32ec35 100644 --- a/lisp/net/tramp-sshfs.el +++ b/lisp/net/tramp-sshfs.el @@ -379,7 +379,9 @@ arguments to pass to the OPERATION." (tramp-skeleton-write-region start end filename append visit lockname mustbenew (let (create-lockfiles) (write-region - start end (tramp-fuse-local-file-name filename) append 'nomessage)))) + start end (tramp-fuse-local-file-name filename) append 'nomessage)) + ;; Now, `last-coding-system-used' has the right value. Remember it. + (setq coding-system-used last-coding-system-used))) ;; File name conversions. |