1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-02 11:21:42 +00:00

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

if default-file-name-coding-system is non-nil.
This commit is contained in:
Kenichi Handa 1998-03-03 07:17:56 +00:00
parent a91733595d
commit 0457b5e41d

View File

@ -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