mirror of
https://github.com/correl/melpa.git
synced 2024-12-23 11:14:57 +00:00
Don't read files literally.
This causes problems when we read in utf-8 and then try to dump the contents back out. Utf-8 characters get read in as if they are ascii.
This commit is contained in:
parent
aec74eff8c
commit
590db54fad
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ function for access to this function")
|
|||
"Return the contents of FILE-NAME as a string, or nil if no such file exists."
|
||||
(when (file-exists-p file-name)
|
||||
(with-temp-buffer
|
||||
(insert-file-contents-literally file-name)
|
||||
(insert-file-contents file-name)
|
||||
(buffer-substring-no-properties (point-min) (point-max)))))
|
||||
|
||||
(defun pb/string-rtrim (str)
|
||||
|
|
Loading…
Reference in a new issue