From: Richard M. Stallman Date: Tue, 9 Sep 1997 05:37:20 +0000 (+0000) Subject: (dired-get-filename): Don't call encode-coding-string X-Git-Tag: emacs-20.1~109 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=05dd46c201f8f36790bffd24b35e9ba37f4f1135;p=emacs.git (dired-get-filename): Don't call encode-coding-string if file-name-coding-system is non-nil. --- diff --git a/lisp/dired.el b/lisp/dired.el index 118c4c8bdee..29d397ca56a 100644 --- a/lisp/dired.el +++ b/lisp/dired.el @@ -1300,6 +1300,7 @@ Optional arg NO-ERROR-IF-NOT-FILEP means return nil if no filename on 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