Bind default-file-name-coding-system.
authorDaiki Ueno <ueno@unixuser.org>
Wed, 8 Dec 2004 02:30:12 +0000 (02:30 +0000)
committerDaiki Ueno <ueno@unixuser.org>
Wed, 8 Dec 2004 02:30:12 +0000 (02:30 +0000)
lisp/riece-log.el

index 687c964..ddedc99 100644 (file)
@@ -84,7 +84,8 @@ If integer, flash back only this line numbers. t means all lines."
   (if riece-log-enabled
       (let ((file (riece-log-get-file (riece-message-target message)))
            (coding-system-for-write riece-log-coding-system)
   (if riece-log-enabled
       (let ((file (riece-log-get-file (riece-message-target message)))
            (coding-system-for-write riece-log-coding-system)
-           file-name-coding-system)
+           file-name-coding-system
+           default-file-name-coding-system)
        (unless (file-directory-p (file-name-directory file))
          (make-directory (file-name-directory file) t))
        (write-region (concat (format-time-string "%H:%M") " "
        (unless (file-directory-p (file-name-directory file))
          (make-directory (file-name-directory file) t))
        (write-region (concat (format-time-string "%H:%M") " "