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)
This commit is contained in:
parent
f529fc1570
commit
dbe1e55dc4
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue