1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-04-28 01:00:52 -07:00

(doc-view-current-cache-dir): Set buffer used for

md5 sum calculation to single-byte.
This commit is contained in:
Tassilo Horn 2008-03-12 14:59:10 +00:00
parent eb79098b2b
commit 86903c81ae
2 changed files with 6 additions and 0 deletions

View 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.

View 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)))))