# HG changeset patch # User Kenichi Handa # Date 888909476 0 # Node ID 55c278cd38f0355627881a234919f41f9e6fb2dd # Parent 390b026f483d22ba2baba7e300be92dd2823939d (dired-get-filename): Don't call encode-coding-string if default-file-name-coding-system is non-nil. diff -r 390b026f483d -r 55c278cd38f0 lisp/dired.el --- a/lisp/dired.el Tue Mar 03 07:17:56 1998 +0000 +++ b/lisp/dired.el Tue Mar 03 07:17:56 1998 +0000 @@ -1304,6 +1304,7 @@ "\""))))) (and file buffer-file-coding-system (not file-name-coding-system) + (not default-file-name-coding-system) (setq file (encode-coding-string file buffer-file-coding-system))) (if (eq localp 'no-dir) file