Mercurial > emacs
changeset 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 | 3be882bc0211 |
children | 95743e18a01c |
files | lisp/dired.el |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
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)))))