# HG changeset patch # User Tassilo Horn # Date 1205333912 0 # Node ID 0275e742e0a1b9bcfc3825708831e21ce5ec7219 # Parent 01d116e7fb7299406368aabd1fcd565709ba6d8c (doc-view-current-cache-dir): Set buffer used for md5 sum calculation to single-byte. diff -r 01d116e7fb72 -r 0275e742e0a1 lisp/doc-view.el --- 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)))))