Replies: 1 comment 14 replies
-
You probably use |
Beta Was this translation helpful? Give feedback.
14 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'd like to override ENCHANT_CONFIG_DIR in my Emacs config. I setenv this in early-init and I validate that this is set before package autoloads, certainly before jinx--load-module is called (I advised jinx--load-module to also illustrate that the env var is correctly set before its first call). I also validate that (fboundp #'jinx--mod-dict) is nil throughout the entire Emacs startup sequence until after emacs-startup-hook runs.
I do also observe that when the env var is set externally, it does take precedence, so I know libenchant honors the variable.
According to the libenchant source code, the value of the env var is dynamically applied at the point that a spelling provider is created.
I'm a bit puzzled since I expect libenchant to not be initalized until after jinx loads it and definitely by that time the env var is correctly set.
macos 12.7.5, emacs 29.3, latest jinx, latest enchant (via brew).
Beta Was this translation helpful? Give feedback.
All reactions