Commit 0457b5e4 authored by Kenichi Handa's avatar Kenichi Handa
Browse files

(dired-get-filename): Don't call encode-coding-string

if default-file-name-coding-system is non-nil.
parent a9173359
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment