diff options
| author | Jürgen Hötzel | 2015-10-14 20:09:03 +0200 |
|---|---|---|
| committer | Michael Albinus | 2015-10-14 20:09:03 +0200 |
| commit | 0cced99164baab5b56ee57e6b1dccea21164c85e (patch) | |
| tree | c5330435afbeaa2ccb6ea337276be0643da93908 | |
| parent | 96764333c438566b20fd381960fef77fa12eb586 (diff) | |
| download | emacs-0cced99164baab5b56ee57e6b1dccea21164c85e.tar.gz emacs-0cced99164baab5b56ee57e6b1dccea21164c85e.zip | |
Use proper localization in tramp-gvfs.el
* lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
Suppress localized settings in order to proper parse gfvs output.
| -rw-r--r-- | lisp/net/tramp-gvfs.el | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/net/tramp-gvfs.el b/lisp/net/tramp-gvfs.el index b7b0a1c016f..b90914256ab 100644 --- a/lisp/net/tramp-gvfs.el +++ b/lisp/net/tramp-gvfs.el | |||
| @@ -791,6 +791,10 @@ file names." | |||
| 791 | (ignore-errors | 791 | (ignore-errors |
| 792 | ;; Don't modify `last-coding-system-used' by accident. | 792 | ;; Don't modify `last-coding-system-used' by accident. |
| 793 | (let ((last-coding-system-used last-coding-system-used) | 793 | (let ((last-coding-system-used last-coding-system-used) |
| 794 | (process-environment | ||
| 795 | (append | ||
| 796 | '("LANG=C.utf8" "LANGUAGE=C.utf8" "LC_ALL=C.utf8") | ||
| 797 | process-environment)) | ||
| 794 | dirp res-symlink-target res-numlinks res-uid res-gid res-access | 798 | dirp res-symlink-target res-numlinks res-uid res-gid res-access |
| 795 | res-mod res-change res-size res-filemodes res-inode res-device) | 799 | res-mod res-change res-size res-filemodes res-inode res-device) |
| 796 | (with-parsed-tramp-file-name filename nil | 800 | (with-parsed-tramp-file-name filename nil |