summaryrefslogtreecommitdiff
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
commitc31f439314626cc314cab88117a950271c4df4b5 (patch)
tree5de304c2a4c15af860c52533c2025925c31a57f2
parentbee2bd29087b21087caca10104d5251c7ed92800 (diff)
downloadgeiser-chez-c31f439314626cc314cab88117a950271c4df4b5.tar.gz
geiser-chez-c31f439314626cc314cab88117a950271c4df4b5.tar.bz2
Experiment setting history file coding system
-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 ()