Mercurial > emacs
diff lisp/dired.el @ 19629:70c989c729f1
(dired-get-filename): Encode file name using the buffer's coding system.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 30 Aug 1997 19:46:24 +0000 |
parents | 2e448d41aa55 |
children | ca5e30c4e578 |
line wrap: on
line diff
--- a/lisp/dired.el Sat Aug 30 18:03:33 1997 +0000 +++ b/lisp/dired.el Sat Aug 30 19:46:24 1997 +0000 @@ -1299,6 +1299,8 @@ "\\([^\\]\\|\\`\\)\"" file "\\1\\\\\"" nil t) file) "\""))))) + (if buffer-file-coding-system + (setq file (encode-coding-string file buffer-file-coding-system))) (if (eq localp 'no-dir) file (and file (concat (dired-current-directory localp) file)))))