From: Kenichi Handa Date: Tue, 3 Mar 1998 07:17:56 +0000 (+0000) Subject: (dired-get-filename): Don't call encode-coding-string X-Git-Tag: emacs-20.3~2027 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0457b5e41d5ecaf6eb84d1dbf4271afb8479bfe8;p=emacs.git (dired-get-filename): Don't call encode-coding-string if default-file-name-coding-system is non-nil. --- diff --git a/lisp/dired.el b/lisp/dired.el index afa98562f80..34b1d50ad90 100644 --- a/lisp/dired.el +++ b/lisp/dired.el @@ -1304,6 +1304,7 @@ Optional arg NO-ERROR-IF-NOT-FILEP means return nil if no filename on "\""))))) (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