unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Some environment variables disappeared for getenv
@ 2022-09-15 11:12 Julien Cubizolles
  2022-09-15 12:53 ` tomas
  0 siblings, 1 reply; 4+ messages in thread
From: Julien Cubizolles @ 2022-09-15 11:12 UTC (permalink / raw)
  To: emacs-devel

I used to rely on getenv to get the value of $XDG_SESSION_TYPE. I
noticed that recently:
--8<---------------cut here---------------start------------->8---
(getenv "XDG_SESSION_TYPE")
--8<---------------cut here---------------end--------------->8---
returns nil, because this variable isn't in process-environment

What is the reason for dropping this particular variable ? How can I get
the value of this variable from within Emacs ?

-- 
Julien Cubizolles




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

end of thread, other threads:[~2022-09-15 19:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-15 11:12 Some environment variables disappeared for getenv Julien Cubizolles
2022-09-15 12:53 ` tomas
2022-09-15 13:28   ` Julien Cubizolles
2022-09-15 19:17     ` Iñigo Serna

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).