GNU bug report logs - #54435
The test mailcap-parsing-and-mailcap-mime-info forgets to restore the HOME environment variable

Previous Next

Package: emacs;

Reported by: Felix Dietrich <felix.dietrich <at> sperrhaken.name>

Date: Thu, 17 Mar 2022 14:17:01 UTC

Severity: minor

Tags: patch

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Felix Dietrich <felix.dietrich <at> sperrhaken.name>
Cc: 54435 <at> debbugs.gnu.org
Subject: bug#54435: The test mailcap-parsing-and-mailcap-mime-info forgets to restore the HOME environment variable
Date: Thu, 17 Mar 2022 16:12:34 +0100
Felix Dietrich <felix.dietrich <at> sperrhaken.name> writes:

> The patch wraps the test in a ‘let’ and ‘unwind-protect’ to restore the
> value of the environment variable after the test has been run.

Thanks.  I've now applied a similar change to Emacs 29, but used
`with-environment-variables' instead of let/unwind-protect.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 3 years and 66 days ago.

Previous Next


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