Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
L
lyskom-elisp-client
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 1
    • Merge Requests 1
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • lyskom-elisp-client
  • lyskom-elisp-client
  • Merge Requests
  • !2

Merged
Created Jan 13, 2015 by Peter Liljenberg@petliContributor

Terminate keep-alive in kill-buffer-hook

  • Overview 1
  • Commits 1
  • Changes

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.

Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Source branch: kill-keep-alive-with-buffer