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:
parent
eb79098b2b
commit
86903c81ae
2 changed files with 6 additions and 0 deletions
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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)))))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue