GNU bug report logs - #38179
26.1; clone-buffer globally unsets locally void variable

Previous Next

Package: emacs;

Reported by: Braun Gábor <braungb88 <at> gmail.com>

Date: Tue, 12 Nov 2019 15:17:01 UTC

Severity: normal

Tags: fixed

Found in version 26.1

Fixed in version 27.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: Noam Postavsky <npostavs <at> gmail.com>
To: Braun Gábor <braungb88 <at> gmail.com>
Cc: 38179 <at> debbugs.gnu.org
Subject: bug#38179: 26.1; clone-buffer globally unsets locally void variable
Date: Tue, 12 Nov 2019 10:38:27 -0500
There is no way to make a "locally void" variable.

> Let's create a test, which sets the default value of a variable but
> undefines it locally in some buffer.

>     (with-temp-buffer
>       (makunbound (make-local-variable var))

That will unbind the global value and local values, not just the local
one.




This bug report was last modified 5 years and 196 days ago.

Previous Next


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