Use default-buffer-file-coding-system instead of buffer-file-coding-system.
authorueno <ueno>
Fri, 12 Aug 2005 07:21:50 +0000 (07:21 +0000)
committerueno <ueno>
Fri, 12 Aug 2005 07:21:50 +0000 (07:21 +0000)
lisp/riece-log.el

index 1cd1c60..cbdad44 100644 (file)
@@ -99,7 +99,7 @@ It is created if there is at least one instance of Emacs running riece-log.")
 (defun riece-log-display-message-function (message)
   (if riece-log-enabled
       (let ((coding-system-for-write (or riece-log-coding-system
-                                        buffer-file-coding-system))
+                                        default-buffer-file-coding-system))
            (file (riece-log-make-file-name (riece-message-target message)
                                            coding-system-for-write))
            file-name-coding-system