Mercurial > emacs
changeset 99393:9f7e76c024f1
(doc-view-mode): Bugfix: Add conversion killing
function to kill-buffer-hook, not to kill-buffer.
Reported by Markus Triska <markus.triska@gmx.at>
author | Tassilo Horn <tassilo@member.fsf.org> |
---|---|
date | Wed, 05 Nov 2008 11:06:22 +0000 |
parents | d508b4d9cf4e |
children | 97cfe3bfabc8 |
files | lisp/ChangeLog lisp/doc-view.el |
diffstat | 2 files changed, 7 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/ChangeLog Tue Nov 04 23:52:15 2008 +0000 +++ b/lisp/ChangeLog Wed Nov 05 11:06:22 2008 +0000 @@ -1,3 +1,9 @@ +2008-11-05 Tassilo Horn <tassilo@member.fsf.org> + + * doc-view.el (doc-view-mode): Bugfix: Add conversion killing + function to kill-buffer-hook, not to kill-buffer. + Reported by Markus Triska <markus.triska@gmx.at> + 2008-11-04 Jay Belanger <jay.p.belanger@gmail.com> * calc/calc.el (calc-quit): Make sure that the keypad buffer
--- a/lisp/doc-view.el Tue Nov 04 23:52:15 2008 +0000 +++ b/lisp/doc-view.el Wed Nov 05 11:06:22 2008 +0000 @@ -1141,7 +1141,7 @@ (remove-overlays (point-min) (point-max) 'doc-view t)) nil t) (add-hook 'clone-indirect-buffer-hook 'doc-view-clone-buffer-hook nil t) - (add-hook 'kill-buffer 'doc-view-kill-proc nil t) + (add-hook 'kill-buffer-hook 'doc-view-kill-proc nil t) (remove-overlays (point-min) (point-max) 'doc-view t) ;Just in case. ;; Keep track of display info ([vh]scroll, page number, overlay, ...)