help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can desktop-save-mode remember setenv?


From: Philipp Haselwarter
Subject: Re: Can desktop-save-mode remember setenv?
Date: Sun, 09 Oct 2011 15:56:02 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux)

I wouldn't do that, sounds like it cause a lot of hick-ups.
How about using a wrapper (or advice) on setenv that manipulates the
process environment and adds the manipulation to a user variable
`my-desktop-process-environment' which gets saved and restored with
desktop?
and then map setenv onto  my-desktop-process-environment with
desktop-after-read-hook.

-- 
Philipp Haselwarter




reply via email to

[Prev in Thread] Current Thread [Next in Thread]