Skip to content
Snippets Groups Projects
Commit c74c4bbc authored by Peter Liljenberg's avatar Peter Liljenberg
Browse files

Terminate keep-alive in kill-buffer-hook.

Since lyskom-keep-alive-timers is a buffer-local variable,
lyskom-keep-alive-callback can't stop the keep-alive timer
if the buffer has been killed.  As a result, it keeps saying ERROR! in
the mini buffer.

On an idea from Christer Ekholm, terminate the timer explicitly with a
kill-buffer-hook instead.  The error logging in
lyskom-keep-alive-callback has been improved too, to provide more
information on what went wrong if there are other error situations in
the future.
parent ee45a027
Branches
No related tags found
1 merge request!2Terminate keep-alive in kill-buffer-hook
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment