|
From: | Ludovic Courtès |
Subject: | Re: [PATCH] scripts: container: Pass through TERM when calling exec |
Date: | Wed, 25 Jan 2017 14:28:36 +0100 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) |
Christopher Baines <address@hidden> skribis: > + (environment (fold (lambda (name alist) > + (let ((value (getenv name))) > + (if value > + (cons (cons name value) alist) > + alist))) > + '() > + ;; Pass through the TERM environment variable > + ;; to inform processes about the capabilities > + ;; of the terminal > + '("TERM")))) I changed that to ‘filter-map’, which is slightly more concise. Ludo’.
[Prev in Thread] | Current Thread | [Next in Thread] |