Drop support for ORG_DIRECTORY in envrc

When Emacs starts it's called from xsessionrc.shared, which is called outside of
direnv's .envrc scope. Because of this variables defined therein, like
ORG_DIRECTORY, are undefined and prevent Emacs from initializing.

I'm hard-coding the `org-directory` variable for now and removing references to
`(getenv "ORG_DIRECTORY")`.
This commit is contained in:
William Carroll 2020-01-20 10:13:02 +00:00
parent 8a657fff7f
commit ddd5d3a7a0
3 changed files with 9 additions and 14 deletions

1
.envrc
View file

@ -1,2 +1 @@
export DOTFILES=~/dotfiles
export ORG_DIRECTORY=~/Dropbox/org