mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-07 16:10:46 -08:00
* net/tramp-fish.el (tramp-fish-handle-expand-file-name): Let-bind
`directory-sep-char'.
This commit is contained in:
parent
a5c5407715
commit
40f245a31b
1 changed files with 7 additions and 7 deletions
|
|
@ -380,13 +380,13 @@ pass to the OPERATION."
|
|||
;; would otherwise use backslash. `default-directory' is
|
||||
;; bound, because on Windows there would be problems with UNC
|
||||
;; shares or Cygwin mounts.
|
||||
(tramp-let-maybe directory-sep-char ?/
|
||||
(let ((default-directory (tramp-compat-temporary-file-directory)))
|
||||
(tramp-make-tramp-file-name
|
||||
method user host
|
||||
(tramp-drop-volume-letter
|
||||
(tramp-run-real-handler 'expand-file-name
|
||||
(list localname)))))))))
|
||||
(let ((directory-sep-char ?/)
|
||||
(default-directory (tramp-compat-temporary-file-directory)))
|
||||
(tramp-make-tramp-file-name
|
||||
method user host
|
||||
(tramp-drop-volume-letter
|
||||
(tramp-run-real-handler 'expand-file-name
|
||||
(list localname))))))))
|
||||
|
||||
(defun tramp-fish-handle-file-attributes (filename &optional id-format)
|
||||
"Like `file-attributes' for Tramp files."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue