diff options
author | Tassilo Horn <[email protected]> | 2008-03-12 14:59:10 +0000 |
---|---|---|
committer | Tassilo Horn <[email protected]> | 2008-03-12 14:59:10 +0000 |
commit | 86903c81aefbcb7959b3facc117d8bc270ba5372 (patch) | |
tree | 413e33f590c08eb3d2a77eda8f7089d04a4ed31c /lisp | |
parent | eb79098b2bda5863112102d70fa372f788f7c85c (diff) |
(doc-view-current-cache-dir): Set buffer used for
md5 sum calculation to single-byte.
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/ChangeLog | 5 | ||||
-rw-r--r-- | lisp/doc-view.el | 1 |
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))))) |