diff options
| author | Tassilo Horn | 2008-03-12 14:59:10 +0000 |
|---|---|---|
| committer | Tassilo Horn | 2008-03-12 14:59:10 +0000 |
| commit | 86903c81aefbcb7959b3facc117d8bc270ba5372 (patch) | |
| tree | 413e33f590c08eb3d2a77eda8f7089d04a4ed31c | |
| parent | eb79098b2bda5863112102d70fa372f788f7c85c (diff) | |
| download | emacs-86903c81aefbcb7959b3facc117d8bc270ba5372.tar.gz emacs-86903c81aefbcb7959b3facc117d8bc270ba5372.zip | |
(doc-view-current-cache-dir): Set buffer used for
md5 sum calculation to single-byte.
| -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 3518243b3ca..96e12e49f3b 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2008-03-12 Tassilo Horn <tassilo@member.fsf.org> | ||
| 2 | |||
| 3 | * doc-view.el (doc-view-current-cache-dir): Set buffer used for | ||
| 4 | md5 sum calculation to single-byte. | ||
| 5 | |||
| 1 | 2008-03-12 Stefan Monnier <monnier@iro.umontreal.ca> | 6 | 2008-03-12 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 7 | ||
| 3 | * doc-view.el (doc-view-new-window-function): Add assertion. | 8 | * doc-view.el (doc-view-new-window-function): Add assertion. |
diff --git a/lisp/doc-view.el b/lisp/doc-view.el index 01dd163ac80..a68e41e3b90 100644 --- a/lisp/doc-view.el +++ b/lisp/doc-view.el | |||
| @@ -470,6 +470,7 @@ It's a subdirectory of `doc-view-cache-directory'." | |||
| 470 | "-" | 470 | "-" |
| 471 | (let ((file doc-view-buffer-file-name)) | 471 | (let ((file doc-view-buffer-file-name)) |
| 472 | (with-temp-buffer | 472 | (with-temp-buffer |
| 473 | (set-buffer-multibyte nil) | ||
| 473 | (insert-file-contents-literally file) | 474 | (insert-file-contents-literally file) |
| 474 | (md5 (current-buffer))))) | 475 | (md5 (current-buffer))))) |
| 475 | doc-view-cache-directory))))) | 476 | doc-view-cache-directory))))) |