diff options
author | Richard M. Stallman <rms@gnu.org> | 1997-09-09 05:37:20 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1997-09-09 05:37:20 +0000 |
commit | 2bd29cff4dc254c40004e0405aa06c404b4e3187 (patch) | |
tree | 857c22c6cd295b555ce9f1aa875f640ebebf5096 /lisp | |
parent | e2e7c4cde289409eec624a9ae6b1e3503ad803f0 (diff) | |
download | emacs-2bd29cff4dc254c40004e0405aa06c404b4e3187.tar.gz |
(dired-get-filename): Don't call encode-coding-string
if file-name-coding-system is non-nil.
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/dired.el | 1 |
1 files changed, 1 insertions, 0 deletions
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 |