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

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

Re: accessing environment variable


From: Stephan Hennig
Subject: Re: accessing environment variable
Date: Mon, 10 Sep 2007 18:54:59 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.6) Gecko/20070728 Thunderbird/2.0.0.6 Mnenhy/0.7.5.0 Hamster/2.1.0.1501

Drew Adams schrieb:

> 1. (getenv "GS_PROG")
> See doc above: "Variable should be a string."

Thanks.


>> (custom-set-variables '(ps-lpr-command "(getenv GS_PROG)")
> 
> 2. ps-lpr-command expects a string that names a program. It does not expect
> a Lisp sexp.

Does that mean there is no way to feed the value of an environment
variable into ps-lpr-command (same for doc-view-ghostscript-program)?

Best regards,
Stephan Hennig


reply via email to

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