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

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

bug#23779: 25.0.95; consing "SHELLVAR" onto process-environment doesn't


From: Dmitry Gutov
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
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.2

On 06/17/2016 07:52 PM, Andreas Schwab wrote:
Dmitry Gutov <dgutov@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.





reply via email to

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