GNU bug report logs - #23779
25.0.95; consing "SHELLVAR" onto process-environment doesn't remove it from subprocess env

Previous Next

Package: emacs;

Reported by: Noam Postavsky <npostavs <at> users.sourceforge.net>

Date: Fri, 17 Jun 2016 03:34:02 UTC

Severity: normal

Found in version 25.0.95

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Dmitry Gutov <dgutov <at> yandex.ru>
To: Andreas Schwab <schwab <at> linux-m68k.org>
Cc: 23779 <at> debbugs.gnu.org, Eli Zaretskii <eliz <at> gnu.org>, Paul Eggert <eggert <at> cs.ucla.edu>, npostavs <at> users.sourceforge.net
Subject: bug#23779: 25.0.95; consing "SHELLVAR" onto process-environment doesn't remove it from subprocess env
Date: Fri, 17 Jun 2016 19:55:01 +0300
On 06/17/2016 07:52 PM, Andreas Schwab wrote:
> Dmitry Gutov <dgutov <at> yandex.ru> writes:

>>           (or coding-system-for-read vc-git-log-output-coding-system))
>>  	(coding-system-for-write
>>           (or coding-system-for-write vc-git-commits-coding-system))
>> -	(process-environment (cons "PAGER=" process-environment)))
>> +	(process-environment process-environment))
>> +    (setenv "PAGER")
>>      (apply 'process-file vc-git-program nil buffer nil command args)))
>
> Is that in any way different from git --no-pager?

The effect is likely the same. But that is beside the point: the example 
is not about PAGER but about setenv.




This bug report was last modified 9 years and 26 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.