diff options
author | JSDurand <mmemmew@gmail.com> | 2024-02-24 23:00:04 +0800 |
---|---|---|
committer | JSDurand <mmemmew@gmail.com> | 2024-02-24 23:00:04 +0800 |
commit | 40c757436da69d4e1babb1b618175a02ecc237ca (patch) | |
tree | 0c9bf22deec361e3eb53a6dd02c6aef438ffdd33 /elisp.el | |
parent | 00a6d1188f54929ebdd9a9fffb694942ec934a6f (diff) |
basic: Move pdf cleanups to `kill-buffer-hook`
* basic.el (durand-kill-current-buffer): This function used to perform
some clean-ups of the timers set by `pdf-view-mode` that were not
cleaned properly by the mode itself. Now this function does not
perform these cleanups, as this is not the right place for that
task.
(kill-buffer-hook): This hook is designed to perform some clean-ups,
so the pdf-timer-clean-ups are moved to this hook now.
Diffstat (limited to 'elisp.el')
0 files changed, 0 insertions, 0 deletions