aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/doc-view.el1
2 files changed, 6 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 3518243b3c..96e12e49f3 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2008-03-12 Tassilo Horn <[email protected]>
+
+ * doc-view.el (doc-view-current-cache-dir): Set buffer used for
+ md5 sum calculation to single-byte.
+
2008-03-12 Stefan Monnier <[email protected]>
* doc-view.el (doc-view-new-window-function): Add assertion.
diff --git a/lisp/doc-view.el b/lisp/doc-view.el
index 01dd163ac8..a68e41e3b9 100644
--- a/lisp/doc-view.el
+++ b/lisp/doc-view.el
@@ -470,6 +470,7 @@ It's a subdirectory of `doc-view-cache-directory'."
"-"
(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)))))