function to kill-buffer-hook, not to kill-buffer.
Reported by Markus Triska <markus.triska@gmx.at>
+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
(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, ...)