unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Default language environment not calling set-language-environment-hook?
@ 2013-11-24 23:41 Matthias Meulien
  2013-11-25 16:32 ` Davis Herring
       [not found] ` <52937C17.3050700@lanl.gov>
  0 siblings, 2 replies; 6+ messages in thread
From: Matthias Meulien @ 2013-11-24 23:41 UTC (permalink / raw)
  To: emacs-devel

I ran emacs with a minimal `~/.emacs' limited to:

(add-hook 'set-language-environment-hook (lambda ()
             (message "Language environment is " 
             current-language-environment))) 
 
(message "Language environment is " current-language-environment) 
 

The *Messages* buffer contains: "Language environment is ". But 
when asking for the description of the variable 
`current-language-environment' I get:

Its value is "French" Original value was "English" 

I was expecting the `set-language-environment-hook' to be called. 
Am I wrong?
-- 
Matthias



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-11-26 16:30 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-24 23:41 Default language environment not calling set-language-environment-hook? Matthias Meulien
2013-11-25 16:32 ` Davis Herring
     [not found] ` <52937C17.3050700@lanl.gov>
2013-11-25 23:29   ` Matthias Meulien
2013-11-26  3:49     ` Eli Zaretskii
2013-11-26  9:16       ` Matthias Meulien
2013-11-26 16:30         ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).