+2002-07-09 Kenichi Handa <handa@etl.go.jp>
+
+ * files.el (insert-directory): Be sure to bind
+ coding-system-for-write to the just decided
+ coding-system-for-read.
+
2002-07-09 Kim F. Storm <storm@cua.dk>
* ido.el (ido-make-merged-file-list): Move fully matching item to
;; Read the actual directory using `insert-directory-program'.
;; RESULT gets the status code.
- (let ((coding-system-for-read
- (and enable-multibyte-characters
- (or file-name-coding-system
- default-file-name-coding-system)))
- ;; This is to control encoding the arguments in call-process.
- (coding-system-for-write coding-system-for-read))
+ (let* ((coding-system-for-read
+ (and enable-multibyte-characters
+ (or file-name-coding-system
+ default-file-name-coding-system)))
+ ;; This is to control encoding the arguments in call-process.
+ (coding-system-for-write coding-system-for-read))
(setq result
(if wildcard
;; Run ls in the directory part of the file pattern