From 53d21671304e4574d9c9c3e206532a449c1b09b3 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Wed, 6 Jul 2011 09:47:15 +0200 Subject: [PATCH] * url-cache.el (url-cache-extract): Set buffer multibyte flag to nil (bug#8827). --- lisp/url/ChangeLog | 5 +++++ lisp/url/url-cache.el | 1 + 2 files changed, 6 insertions(+) diff --git a/lisp/url/ChangeLog b/lisp/url/ChangeLog index f0d9530966e..80b970ac02f 100644 --- a/lisp/url/ChangeLog +++ b/lisp/url/ChangeLog @@ -1,3 +1,8 @@ +2011-07-06 Nick Dokos (tiny change) + + * url-cache.el (url-cache-extract): Set buffer multibyte flag to + nil (bug#8827). + 2011-07-03 Nicolas Avrutin (tiny change) * url-http.el (url-http-create-request): Remove double carriage diff --git a/lisp/url/url-cache.el b/lisp/url/url-cache.el index 1615920e64c..80d77020456 100644 --- a/lisp/url/url-cache.el +++ b/lisp/url/url-cache.el @@ -192,6 +192,7 @@ Very fast if you have an `md5' primitive function, suitably fast otherwise." (defun url-cache-extract (fnam) "Extract FNAM from the local disk cache." (erase-buffer) + (set-buffer-multibyte nil) (insert-file-contents-literally fnam)) (defun url-cache-expired (url &optional expire-time) -- 2.39.2