From: Tassilo Horn Date: Wed, 5 Nov 2008 11:06:22 +0000 (+0000) Subject: (doc-view-mode): Bugfix: Add conversion killing X-Git-Tag: emacs-pretest-23.0.90~1960 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f1809341da745d72ba4981ee6f11d3925dac70b1;p=emacs.git (doc-view-mode): Bugfix: Add conversion killing function to kill-buffer-hook, not to kill-buffer. Reported by Markus Triska --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 13a84f6576c..2a0e4461c57 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,9 @@ +2008-11-05 Tassilo Horn + + * doc-view.el (doc-view-mode): Bugfix: Add conversion killing + function to kill-buffer-hook, not to kill-buffer. + Reported by Markus Triska + 2008-11-04 Jay Belanger * calc/calc.el (calc-quit): Make sure that the keypad buffer diff --git a/lisp/doc-view.el b/lisp/doc-view.el index 36029fb2f6e..08a0a1ce5b1 100644 --- a/lisp/doc-view.el +++ b/lisp/doc-view.el @@ -1141,7 +1141,7 @@ toggle between displaying the document or editing it as text. (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, ...)