diff options
| -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 afa98562f80..34b1d50ad90 100644 --- a/lisp/dired.el +++ b/lisp/dired.el | |||
| @@ -1304,6 +1304,7 @@ Optional arg NO-ERROR-IF-NOT-FILEP means return nil if no filename on | |||
| 1304 | "\""))))) | 1304 | "\""))))) |
| 1305 | (and file buffer-file-coding-system | 1305 | (and file buffer-file-coding-system |
| 1306 | (not file-name-coding-system) | 1306 | (not file-name-coding-system) |
| 1307 | (not default-file-name-coding-system) | ||
| 1307 | (setq file (encode-coding-string file buffer-file-coding-system))) | 1308 | (setq file (encode-coding-string file buffer-file-coding-system))) |
| 1308 | (if (eq localp 'no-dir) | 1309 | (if (eq localp 'no-dir) |
| 1309 | file | 1310 | file |