From 1419c7fc46ddc5d6a32a9ebe6e255f19e56a2c65 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Mon, 6 Nov 2006 15:50:06 +0000 Subject: [PATCH] (dired-readin): Locally bind file-name-coding-system. --- lisp/dired.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lisp/dired.el b/lisp/dired.el index 491ef261c11..5359b464579 100644 --- a/lisp/dired.el +++ b/lisp/dired.el @@ -791,6 +791,9 @@ wildcards, erases the buffer, and builds the subdir-alist anew (run-hooks 'dired-before-readin-hook) (if (consp buffer-undo-list) (setq buffer-undo-list nil)) + (make-local-variable 'file-name-coding-system) + (setq file-name-coding-system + (or coding-system-for-read file-name-coding-system)) (let (buffer-read-only ;; Don't make undo entries for readin. (buffer-undo-list t)) -- 2.39.5