changeset 92760:0275e742e0a1

(doc-view-current-cache-dir): Set buffer used for md5 sum calculation to single-byte.
author Tassilo Horn <tassilo@member.fsf.org>
date Wed, 12 Mar 2008 14:58:32 +0000
parents 01d116e7fb72
children e3d7d040b34d
files lisp/doc-view.el
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/doc-view.el	Wed Mar 12 14:50:36 2008 +0000
+++ b/lisp/doc-view.el	Wed Mar 12 14:58:32 2008 +0000
@@ -470,6 +470,7 @@
 		    "-"
 		    (let ((file doc-view-buffer-file-name))
 		      (with-temp-buffer
+			(set-buffer-multibyte nil)
 			(insert-file-contents-literally file)
 			(md5 (current-buffer)))))
             doc-view-cache-directory)))))