Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

org-gcal-sync does not respect customized org-gcal-dir directory #102

Open
Trevoke opened this issue Aug 25, 2020 · 2 comments
Open

org-gcal-sync does not respect customized org-gcal-dir directory #102

Trevoke opened this issue Aug 25, 2020 · 2 comments

Comments

@Trevoke
Copy link

Trevoke commented Aug 25, 2020

Hi!

When I use org-gcal-sync it's always going to try and use ~/.emacs.d/org-gcal/ first, which is frustrating because I don't want it to.

My configuration is as follows:

  (use-package org-gcal
    :pin "melpa"
    :after (org-agenda persist)
    :config
    (setq org-gcal-dir "~/.emacs.d/local-files/org-gcal/"))

And this properly sets the different directory at launch, but when I call org-gcal-sync it still looks for and saves a token in ~/.emacs.d/org-gcal/ instead.

@telotortium
Copy link
Collaborator

Hi, you should probably use :init instead of :config here so the variable is set before the package is loaded.

@Trevoke
Copy link
Author

Trevoke commented Sep 2, 2020

Welp, I could have sworn that didn't work, but it just did, so, uh, thanks, I suppose.

It might be worth adding this to the README.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants