{"action":"created","issue":{"url":"https://api.github.com/repos/dgutov/diff-hl/issues/68","repository_url":"https://api.github.com/repos/dgutov/diff-hl","labels_url":"https://api.github.com/repos/dgutov/diff-hl/issues/68/labels{/name}","comments_url":"https://api.github.com/repos/dgutov/diff-hl/issues/68/comments","events_url":"https://api.github.com/repos/dgutov/diff-hl/issues/68/events","html_url":"https://github.com/dgutov/diff-hl/issues/68","id":154718977,"number":68,"title":"Error when calling (diff-hl-flydiff-mode 0)","user":{"login":"phil-s","id":295371,"avatar_url":"https://avatars.githubusercontent.com/u/295371?v=3","gravatar_id":"","url":"https://api.github.com/users/phil-s","html_url":"https://github.com/phil-s","followers_url":"https://api.github.com/users/phil-s/followers","following_url":"https://api.github.com/users/phil-s/following{/other_user}","gists_url":"https://api.github.com/users/phil-s/gists{/gist_id}","starred_url":"https://api.github.com/users/phil-s/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phil-s/subscriptions","organizations_url":"https://api.github.com/users/phil-s/orgs","repos_url":"https://api.github.com/users/phil-s/repos","events_url":"https://api.github.com/users/phil-s/events{/privacy}","received_events_url":"https://api.github.com/users/phil-s/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-13T14:02:59Z","updated_at":"2016-05-13T14:12:19Z","closed_at":"2016-05-13T14:12:12Z","body":"It's certainly an edge case, but if you disable `diff-hl-flydiff-mode` without having enabled it, `diff-hl-flydiff-timer` is void when the mode calls `(cancel-timer diff-hl-flydiff-timer)`\r\n\r\nI suggest the following in its place:\r\n```\r\n    (and (boundp 'diff-hl-flydiff-timer)\r\n         (timerp diff-hl-flydiff-timer)\r\n         (cancel-timer diff-hl-flydiff-timer))\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/dgutov/diff-hl/issues/comments/219054414","html_url":"https://github.com/dgutov/diff-hl/issues/68#issuecomment-219054414","issue_url":"https://api.github.com/repos/dgutov/diff-hl/issues/68","id":219054414,"user":{"login":"dgutov","id":271877,"avatar_url":"https://avatars.githubusercontent.com/u/271877?v=3","gravatar_id":"","url":"https://api.github.com/users/dgutov","html_url":"https://github.com/dgutov","followers_url":"https://api.github.com/users/dgutov/followers","following_url":"https://api.github.com/users/dgutov/following{/other_user}","gists_url":"https://api.github.com/users/dgutov/gists{/gist_id}","starred_url":"https://api.github.com/users/dgutov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgutov/subscriptions","organizations_url":"https://api.github.com/users/dgutov/orgs","repos_url":"https://api.github.com/users/dgutov/repos","events_url":"https://api.github.com/users/dgutov/events{/privacy}","received_events_url":"https://api.github.com/users/dgutov/received_events","type":"User","site_admin":false},"created_at":"2016-05-13T14:12:19Z","updated_at":"2016-05-13T14:12:19Z","body":"Thanks. It should be better now."}}