diff options
| author | Michael Albinus | 2008-03-19 21:02:03 +0000 |
|---|---|---|
| committer | Michael Albinus | 2008-03-19 21:02:03 +0000 |
| commit | 40f245a31bd499ca850cdc01acfb0a4b3c3e9c8c (patch) | |
| tree | 17953ab9ea42b5e4cd67777b9216c451023fcd08 | |
| parent | a5c54077158867b1ba59abd4dadca99ff48c6530 (diff) | |
| download | emacs-40f245a31bd499ca850cdc01acfb0a4b3c3e9c8c.tar.gz emacs-40f245a31bd499ca850cdc01acfb0a4b3c3e9c8c.zip | |
* net/tramp-fish.el (tramp-fish-handle-expand-file-name): Let-bind
`directory-sep-char'.
| -rw-r--r-- | lisp/net/tramp-fish.el | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lisp/net/tramp-fish.el b/lisp/net/tramp-fish.el index abf7b0c27a2..639ea60f2a0 100644 --- a/lisp/net/tramp-fish.el +++ b/lisp/net/tramp-fish.el | |||
| @@ -380,13 +380,13 @@ pass to the OPERATION." | |||
| 380 | ;; would otherwise use backslash. `default-directory' is | 380 | ;; would otherwise use backslash. `default-directory' is |
| 381 | ;; bound, because on Windows there would be problems with UNC | 381 | ;; bound, because on Windows there would be problems with UNC |
| 382 | ;; shares or Cygwin mounts. | 382 | ;; shares or Cygwin mounts. |
| 383 | (tramp-let-maybe directory-sep-char ?/ | 383 | (let ((directory-sep-char ?/) |
| 384 | (let ((default-directory (tramp-compat-temporary-file-directory))) | 384 | (default-directory (tramp-compat-temporary-file-directory))) |
| 385 | (tramp-make-tramp-file-name | 385 | (tramp-make-tramp-file-name |
| 386 | method user host | 386 | method user host |
| 387 | (tramp-drop-volume-letter | 387 | (tramp-drop-volume-letter |
| 388 | (tramp-run-real-handler 'expand-file-name | 388 | (tramp-run-real-handler 'expand-file-name |
| 389 | (list localname))))))))) | 389 | (list localname)))))))) |
| 390 | 390 | ||
| 391 | (defun tramp-fish-handle-file-attributes (filename &optional id-format) | 391 | (defun tramp-fish-handle-file-attributes (filename &optional id-format) |
| 392 | "Like `file-attributes' for Tramp files." | 392 | "Like `file-attributes' for Tramp files." |