home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!airgun!airgun.wg.waii.com!jct
- From: jct@se33.wg2.waii.com (Jim Thompson)
- Newsgroups: gnu.emacs.help
- Subject: Re: set environment variables within emacs
- Message-ID: <JCT.92Sep11062743@se33.wg2.waii.com>
- Date: 11 Sep 92 10:27:43 GMT
- References: <9209110054.AA12527@accura_nc.aisg.com>
- Sender: news@airgun.wg.waii.com
- Reply-To: thompson@wg2.waii.com
- Organization: Western Geophysical Exploration Products
- Lines: 21
- Nntp-Posting-Host: se33.wg2.waii.com
- In-reply-to: keith@aisg.COM's message of 11 Sep 92 00:54:34 GMT
-
-
- In article <9209110054.AA12527@accura_nc.aisg.com> keith@aisg.COM (Keith B. Kee {AISG} ) writes:
-
- > How can I do a setenv operation in emacs? For instance, I want to do
- > a "setenv LD_OPTIONS '-y_test' " before I compile a program.
-
- See variable process-environment:
-
- Documentation:
- List of strings to append to environment of subprocesses that are started.
- Each string should have the format ENVVARNAME=VALUE.
-
- To modify it:
-
- (setq process-environment (cons "LD_OPTIONS=-y_test" process-environment))
-
- --
- _ Jim Thompson | Wanted:
- _| ~- thompson@wg2.waii.com | Nick Park's "Grand Day Out"
- \, _} Western Geophysical | on VHS-format videotape
- \( Houston, Texas | Email me if you know where I can buy it.
-