aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/plstore.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/plstore.el b/lisp/plstore.el
index b9025433b11..26c53b3e61f 100644
--- a/lisp/plstore.el
+++ b/lisp/plstore.el
@@ -212,7 +212,8 @@ symmetric encryption will be used."
212 (with-current-buffer buffer 212 (with-current-buffer buffer
213 (erase-buffer) 213 (erase-buffer)
214 (condition-case nil 214 (condition-case nil
215 (insert-file-contents-literally file) 215 (let ((coding-system-for-read 'raw-text))
216 (insert-file-contents file))
216 (error)) 217 (error))
217 (setq buffer-file-name (file-truename file)) 218 (setq buffer-file-name (file-truename file))
218 (set-buffer-modified-p nil) 219 (set-buffer-modified-p nil)