`coding-system-for-write' when old Mule is used.
+2000-05-17 Katsumi Yamaoka <yamaoka@jpl.org>
+
+ * lisp/dgnushack.el (dgnushack-texi-format): Use
+ `output-coding-system' instead of `coding-system-for-write' when
+ old Mule is used.
+
2000-05-16 Katsumi Yamaoka <yamaoka@jpl.org>
* lisp/message.el (message-forward) Replace the use of `eolp' with
(require 'texinfmt)
(let ((auto-save-default nil)
(find-file-run-dired nil)
- coding-system-for-write)
+ coding-system-for-write
+ output-coding-system)
(let ((error 0)
file
(files ()))
(progn
(if buffer-file-name (kill-buffer (current-buffer)))
(find-file file)
- (setq coding-system-for-write buffer-file-coding-system)
+ (if (boundp 'MULE)
+ (setq coding-system-for-write buffer-file-coding-system)
+ (setq output-coding-system (symbol-value 'file-coding-system)))
(when (and addsuffix
(re-search-forward
"^@setfilename[\t ]+\\([^\t\n ]+\\)" nil t)