changeset 19839:752ad8dab7fd

(dired-get-filename): Don't call encode-coding-string if file-name-coding-system is non-nil.
author Richard M. Stallman <rms@gnu.org>
date Tue, 09 Sep 1997 05:37:20 +0000
parents 7e1bbe58eb02
children f66b5085a537
files lisp/dired.el
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/dired.el	Tue Sep 09 05:32:07 1997 +0000
+++ b/lisp/dired.el	Tue Sep 09 05:37:20 1997 +0000
@@ -1300,6 +1300,7 @@
 			     file)
 			 "\"")))))
     (and file buffer-file-coding-system
+	 (not file-name-coding-system)
 	 (setq file (encode-coding-string file buffer-file-coding-system)))
     (if (eq localp 'no-dir)
 	file