GNU bug report logs - #33828
26.1; Unbound defvar across compilation units

Previous Next

Package: emacs;

Reported by: Luís Oliveira <luismbo <at> gmail.com>

Date: Fri, 21 Dec 2018 16:23:02 UTC

Severity: minor

Tags: notabug

Found in version 26.1

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Luís Oliveira <luismbo <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Cc: João Távora <joaotavora <at> gmail.com>
Subject: Re: 26.1; Unbound defvar across compilation units
Date: Fri, 21 Dec 2018 13:50:02 +0000
On Fri, Dec 21, 2018 at 12:02 PM Luís Oliveira <luismbo <at> gmail.com> wrote:
> I think I've come across a bug.

But it seems to be documented behaviour:

    Note that specifying a value, even nil, marks the variable as
special permanently. Whereas if value is omitted then the variable is
only marked special locally (i.e. within the current lexical scope, or
file if at the top-level). This can be useful for suppressing byte
compilation warnings, see Compiler Errors.
    (https://www.gnu.org/software/emacs/manual/html_node/elisp/Defining-Variables.html)

Please disregard this bug report. :-)

Luís




This bug report was last modified 6 years and 152 days ago.

Previous Next


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