1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-17 17:58:46 +00:00

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

if file-name-coding-system is non-nil.
This commit is contained in:
Richard M. Stallman 1997-09-09 05:37:20 +00:00
parent 89e1ec1dd0
commit 05dd46c201

View File

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