summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--elisp/geiser-repl.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/elisp/geiser-repl.el b/elisp/geiser-repl.el
index fca1c74..95c2e72 100644
--- a/elisp/geiser-repl.el
+++ b/elisp/geiser-repl.el
@@ -411,12 +411,14 @@ module command as a string")
(defun geiser-repl--read-input-ring ()
(let ((comint-input-ring-file-name (geiser-repl--history-file))
- (comint-input-ring-separator geiser-repl--history-separator))
+ (comint-input-ring-separator geiser-repl--history-separator)
+ (default-buffer-file-coding-system 'utf-8)))
(comint-read-input-ring t)))
(defun geiser-repl--write-input-ring ()
(let ((comint-input-ring-file-name (geiser-repl--history-file))
- (comint-input-ring-separator geiser-repl--history-separator))
+ (comint-input-ring-separator geiser-repl--history-separator)
+ (default-buffer-file-coding-system 'utf-8))
(comint-write-input-ring)))
(defun geiser-repl--history-setup ()