{"action":"created","issue":{"url":"https://api.github.com/repos/hadronzoo/theme-changer/issues/6","labels_url":"https://api.github.com/repos/hadronzoo/theme-changer/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/hadronzoo/theme-changer/issues/6/comments","events_url":"https://api.github.com/repos/hadronzoo/theme-changer/issues/6/events","html_url":"https://github.com/hadronzoo/theme-changer/issues/6","id":37087885,"number":6,"title":"Package Does Not Automatically Load With ELPA","user":{"login":"Sammidysam","id":3077078,"avatar_url":"https://avatars.githubusercontent.com/u/3077078?v=3","gravatar_id":"","url":"https://api.github.com/users/Sammidysam","html_url":"https://github.com/Sammidysam","followers_url":"https://api.github.com/users/Sammidysam/followers","following_url":"https://api.github.com/users/Sammidysam/following{/other_user}","gists_url":"https://api.github.com/users/Sammidysam/gists{/gist_id}","starred_url":"https://api.github.com/users/Sammidysam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sammidysam/subscriptions","organizations_url":"https://api.github.com/users/Sammidysam/orgs","repos_url":"https://api.github.com/users/Sammidysam/repos","events_url":"https://api.github.com/users/Sammidysam/events{/privacy}","received_events_url":"https://api.github.com/users/Sammidysam/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2014-07-03T14:38:30Z","updated_at":"2015-12-27T06:32:30Z","closed_at":null,"body":"After installing via ELPA, I can add the following code to my `.emacs`.\r\n\r\n```elisp\r\n(eval-after-load \"theme-changer\" '(change-theme 'solarized-light 'solarized-dark))\r\n```\r\n\r\nBut the code is not run on start-up; I have to manually load the file `theme-changer.el` or `theme-changer.elc`, and then the code will be run.  Therefore, the package is not automatically loaded when installed via ELPA, which is a problem."},"comment":{"url":"https://api.github.com/repos/hadronzoo/theme-changer/issues/comments/167388840","html_url":"https://github.com/hadronzoo/theme-changer/issues/6#issuecomment-167388840","issue_url":"https://api.github.com/repos/hadronzoo/theme-changer/issues/6","id":167388840,"user":{"login":"shackra","id":1055216,"avatar_url":"https://avatars.githubusercontent.com/u/1055216?v=3","gravatar_id":"","url":"https://api.github.com/users/shackra","html_url":"https://github.com/shackra","followers_url":"https://api.github.com/users/shackra/followers","following_url":"https://api.github.com/users/shackra/following{/other_user}","gists_url":"https://api.github.com/users/shackra/gists{/gist_id}","starred_url":"https://api.github.com/users/shackra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shackra/subscriptions","organizations_url":"https://api.github.com/users/shackra/orgs","repos_url":"https://api.github.com/users/shackra/repos","events_url":"https://api.github.com/users/shackra/events{/privacy}","received_events_url":"https://api.github.com/users/shackra/received_events","type":"User","site_admin":false},"created_at":"2015-12-27T06:32:29Z","updated_at":"2015-12-27T06:32:29Z","body":"Ran... but at the beginning of your Emacs configuration? Take a look on my Emacs configuration https://github.com/shackra/.emacs.d/blob/master/init.el\n\nEl viernes 25 de diciembre del 2015 a las 2159 horas, Sam Craig escribió:\n\n> It is not necessarily at the top, but it is still run near the beginning of the Emacs configuration process.  I think in my previous configuration that I was using when I opened the issue, I didn't run `(package-initialize)`, but I am not sure.  I just checked though, and this problem still exists, even with having `(package-initialize)` run.\n>\n> ---\n> Reply to this email directly or view it on GitHub:\n> https://github.com/hadronzoo/theme-changer/issues/6#issuecomment-167275553\n\n\n-- \n👋 Pax et bonum.\nJorge Araya Navarro\nhttps://es.gravatar.com/shackra\n"}}