]> code.delx.au - gnu-emacs/commitdiff
Further fix for proper locale handling in tramp-gvfs.el
authorJürgen Hötzel <juergen@archlinux.org>
Thu, 22 Oct 2015 07:09:27 +0000 (09:09 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Thu, 22 Oct 2015 07:09:27 +0000 (09:09 +0200)
* lisp/net/tramp-gvfs.el (tramp-gvfs-handle-file-attributes):
Just suppress LC_MESSAGES locale category settings.

lisp/net/tramp-gvfs.el

index b9d2fa2739e1855804979c7aaf04831f38472037..177ccfc37120d53fac1d81ad240c0636e969215d 100644 (file)
@@ -791,10 +791,7 @@ file names."
   (ignore-errors
     ;; Don't modify `last-coding-system-used' by accident.
     (let ((last-coding-system-used last-coding-system-used)
-         (process-environment
-          (append
-           '("LANG=C.utf8" "LANGUAGE=C.utf8" "LC_ALL=C.utf8")
-           process-environment))
+         (process-environment (cons "LC_MESSAGES=C" process-environment))
          dirp res-symlink-target res-numlinks res-uid res-gid res-access
          res-mod res-change res-size res-filemodes res-inode res-device)
       (with-parsed-tramp-file-name filename nil