[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Default language environment not calling set-language-environment-ho
From: |
Matthias Meulien |
Subject: |
Re: Default language environment not calling set-language-environment-hook? |
Date: |
Tue, 26 Nov 2013 10:16:43 +0100 |
> I think this is because set-language-environment is called by
> startup.el before it processes your .emacs, so the hook is not yet
> set.
That's it!
Should not the docstring of `set-language-environment-hook' warn
developers about this? Something like:
During the start-up process, `set-language-environment' is called
before the user init file is read. Thus adding functions to that
hook in the user init file will have no effect while setting the
default language environment.
--
Matthias