Config publishing: set file encoding for logs

This commit is contained in:
TEC 2021-01-29 19:55:56 +08:00
parent 2436a1fd02
commit c127646ab2
Signed by: tec
GPG Key ID: 779591AFDB81F06C
1 changed files with 2 additions and 1 deletions

View File

@ -24,7 +24,8 @@
(defun logged-message (msg)
(unless inhibit-message
(let ((inhibit-message t))
(let ((inhibit-message t)
(coding-system-for-write 'utf-8))
(princ #'external-debugging-output #'ignore)
(append-to-file msg nil log-file)
(append-to-file "\n" nil log-file)))