Function: tramp-sshfs-handle-write-region
tramp-sshfs-handle-write-region is a byte-compiled function defined in
tramp-sshfs.el.gz.
Signature
(tramp-sshfs-handle-write-region START END FILENAME &optional APPEND VISIT LOCKNAME MUSTBENEW)
Documentation
Like write-region for Tramp files.
Source Code
;; Defined in /usr/src/emacs/lisp/net/tramp-sshfs.el.gz
(defun tramp-sshfs-handle-write-region
(start end filename &optional append visit lockname mustbenew)
"Like `write-region' for Tramp files."
(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))
;; Now, `last-coding-system-used' has the right value. Remember it.
(setq coding-system-used last-coding-system-used)))