Commit f1809341 authored by Tassilo Horn's avatar Tassilo Horn

(doc-view-mode): Bugfix: Add conversion killing

function to kill-buffer-hook, not to kill-buffer.
Reported by Markus Triska <markus.triska@gmx.at>
parent bc6922de
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
......
......@@ -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, ...)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment