(dired-get-filename): Don't call encode-coding-string
if default-file-name-coding-system is non-nil.
This commit is contained in:
parent
a91733595d
commit
0457b5e41d
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue