Commit dbe1e55d authored by Eli Zaretskii's avatar Eli Zaretskii

Fix decrypting in plstore.el on MS-Windows

* lisp/plstore.el (plstore-open): Bind coding-system-for-read to
raw-text, instead of using insert-file-contents-literally.
(Bug#28114)
parent f529fc15
......@@ -212,7 +212,8 @@ symmetric encryption will be used."
(with-current-buffer buffer
(erase-buffer)
(condition-case nil
(insert-file-contents-literally file)
(let ((coding-system-for-read 'raw-text))
(insert-file-contents file))
(error))
(setq buffer-file-name (file-truename file))
(set-buffer-modified-p nil)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment