changeset 21047:55c278cd38f0

(dired-get-filename): Don't call encode-coding-string if default-file-name-coding-system is non-nil.
author Kenichi Handa <handa@m17n.org>
date Tue, 03 Mar 1998 07:17:56 +0000
parents 390b026f483d
children 4d1d3581eeb4
files lisp/dired.el
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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