{"action":"created","issue":{"url":"https://api.github.com/repos/tkf/emacs-jedi/issues/235","labels_url":"https://api.github.com/repos/tkf/emacs-jedi/issues/235/labels{/name}","comments_url":"https://api.github.com/repos/tkf/emacs-jedi/issues/235/comments","events_url":"https://api.github.com/repos/tkf/emacs-jedi/issues/235/events","html_url":"https://github.com/tkf/emacs-jedi/pull/235","id":80544457,"number":235,"title":"Do not change after-change-functions when jedi:install-imenu is nil.","user":{"login":"stakemori","id":3415357,"avatar_url":"https://avatars.githubusercontent.com/u/3415357?v=3","gravatar_id":"","url":"https://api.github.com/users/stakemori","html_url":"https://github.com/stakemori","followers_url":"https://api.github.com/users/stakemori/followers","following_url":"https://api.github.com/users/stakemori/following{/other_user}","gists_url":"https://api.github.com/users/stakemori/gists{/gist_id}","starred_url":"https://api.github.com/users/stakemori/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stakemori/subscriptions","organizations_url":"https://api.github.com/users/stakemori/orgs","repos_url":"https://api.github.com/users/stakemori/repos","events_url":"https://api.github.com/users/stakemori/events{/privacy}","received_events_url":"https://api.github.com/users/stakemori/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-25T13:53:50Z","updated_at":"2015-06-12T11:29:41Z","closed_at":"2015-05-29T03:11:06Z","pull_request":{"url":"https://api.github.com/repos/tkf/emacs-jedi/pulls/235","html_url":"https://github.com/tkf/emacs-jedi/pull/235","diff_url":"https://github.com/tkf/emacs-jedi/pull/235.diff","patch_url":"https://github.com/tkf/emacs-jedi/pull/235.patch"},"body":"If I understand the code correctly, the purpose of `jedi:after-change-handler` is to change the value of `jedi:defined-names--cache`.  \r\nAnd this value is used for only functions which is related to `jedi` and `imenu`.  \r\nSo if `jedi:install-imenu` is `nil`, `jedi:after-change-handler` should not be added to `after-change-functions`. I think this commit will fix #234.\r\n"},"comment":{"url":"https://api.github.com/repos/tkf/emacs-jedi/issues/comments/111460072","html_url":"https://github.com/tkf/emacs-jedi/pull/235#issuecomment-111460072","issue_url":"https://api.github.com/repos/tkf/emacs-jedi/issues/235","id":111460072,"user":{"login":"ramnes","id":835072,"avatar_url":"https://avatars.githubusercontent.com/u/835072?v=3","gravatar_id":"","url":"https://api.github.com/users/ramnes","html_url":"https://github.com/ramnes","followers_url":"https://api.github.com/users/ramnes/followers","following_url":"https://api.github.com/users/ramnes/following{/other_user}","gists_url":"https://api.github.com/users/ramnes/gists{/gist_id}","starred_url":"https://api.github.com/users/ramnes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ramnes/subscriptions","organizations_url":"https://api.github.com/users/ramnes/orgs","repos_url":"https://api.github.com/users/ramnes/repos","events_url":"https://api.github.com/users/ramnes/events{/privacy}","received_events_url":"https://api.github.com/users/ramnes/received_events","type":"User","site_admin":false},"created_at":"2015-06-12T11:29:41Z","updated_at":"2015-06-12T11:29:41Z","body":"Got hit by the same bug, thanks for the fix!"}}