summaryrefslogtreecommitdiff
path: root/elisp/geiser-repl.el
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2013-07-01 19:56:42 +0200
committerJose Antonio Ortega Ruiz <jao@gnu.org>2013-07-01 19:56:42 +0200
commit2d07e5bc1519554d283a3b06879fc9d167c6097f (patch)
tree265653a3dc1fa9c2377923f099df3cb6abe20b08 /elisp/geiser-repl.el
parent0348ece4d614a3664289289d8c7daf3ec39a3975 (diff)
downloadgeiser-2d07e5bc1519554d283a3b06879fc9d167c6097f.tar.gz
geiser-2d07e5bc1519554d283a3b06879fc9d167c6097f.tar.bz2
Experiment setting history file coding system
Diffstat (limited to 'elisp/geiser-repl.el')
-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 ()