]> git.eshelyaron.com Git - emacs.git/commitdiff
(doc-view-current-cache-dir): Set buffer used for
authorTassilo Horn <tassilo@member.fsf.org>
Wed, 12 Mar 2008 14:59:10 +0000 (14:59 +0000)
committerTassilo Horn <tassilo@member.fsf.org>
Wed, 12 Mar 2008 14:59:10 +0000 (14:59 +0000)
md5 sum calculation to single-byte.

lisp/ChangeLog
lisp/doc-view.el

index 3518243b3ca1d3531391c77c598d8b338dea42d2..96e12e49f3b7b28ec60fa9eaaf6764cc8f4266b1 100644 (file)
@@ -1,3 +1,8 @@
+2008-03-12  Tassilo Horn  <tassilo@member.fsf.org>
+
+       * doc-view.el (doc-view-current-cache-dir): Set buffer used for
+       md5 sum calculation to single-byte.
+
 2008-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
 
        * doc-view.el (doc-view-new-window-function): Add assertion.
index 01dd163ac80627eb238c4b5ec8586d509550fde4..a68e41e3b9069aa13e5cc071b34bb7b839936d6c 100644 (file)
@@ -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)))))