(defun riece-log-display-message-function (message)
(if riece-log-enabled
- (let ((coding-system-for-write
- (if (featurep 'mule)
- (or riece-log-coding-system
- (car (get-language-info current-language-environment
- 'coding-system)))))
- (file (riece-log-make-file-name (riece-message-target message)
- coding-system-for-write))
- file-name-coding-system
- default-file-name-coding-system)
+ (let* ((coding-system-for-write
+ (if (featurep 'mule)
+ (or riece-log-coding-system
+ (car (get-language-info current-language-environment
+ 'coding-system)))))
+ (file (riece-log-make-file-name (riece-message-target message)
+ coding-system-for-write))
+ 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") " "