diff options
| author | Jürgen Hötzel | 2015-10-22 09:09:27 +0200 |
|---|---|---|
| committer | Michael Albinus | 2015-10-22 09:09:27 +0200 |
| commit | 01d2af9c7c9d0720022f027838d17123ca2c9cc2 (patch) | |
| tree | fe7e7ccd6ee6c84cb16834fcb79a102444ed9db1 | |
| parent | cd428600c2037731e74cd97a05f3cab766519b6a (diff) | |
| download | emacs-01d2af9c7c9d0720022f027838d17123ca2c9cc2.tar.gz emacs-01d2af9c7c9d0720022f027838d17123ca2c9cc2.zip | |
Further fix for proper locale handling in tramp-gvfs.el
* lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
Just suppress LC_MESSAGES locale category settings.
| -rw-r--r-- | lisp/net/tramp-gvfs.el | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lisp/net/tramp-gvfs.el b/lisp/net/tramp-gvfs.el index b9d2fa2739e..177ccfc3712 100644 --- a/lisp/net/tramp-gvfs.el +++ b/lisp/net/tramp-gvfs.el | |||
| @@ -791,10 +791,7 @@ 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 | 794 | (process-environment (cons "LC_MESSAGES=C" process-environment)) |
| 795 | (append | ||
| 796 | '("LANG=C.utf8" "LANGUAGE=C.utf8" "LC_ALL=C.utf8") | ||
| 797 | process-environment)) | ||
| 798 | dirp res-symlink-target res-numlinks res-uid res-gid res-access | 795 | dirp res-symlink-target res-numlinks res-uid res-gid res-access |
| 799 | res-mod res-change res-size res-filemodes res-inode res-device) | 796 | res-mod res-change res-size res-filemodes res-inode res-device) |
| 800 | (with-parsed-tramp-file-name filename nil | 797 | (with-parsed-tramp-file-name filename nil |