GNU bug report logs - #15616
24.3; Setting lexical-binding in file's local variables block should trigger a warning

Previous Next

Package: emacs;

Reported by: Ryan <rct <at> thompsonclan.org>

Date: Tue, 15 Oct 2013 00:42:02 UTC

Severity: wishlist

Found in version 24.3

Fixed in version 24.4

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

Bug is archived. No further changes may be made.

Full log


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

From: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
To: Ryan <rct <at> thompsonclan.org>
Cc: 15616 <at> debbugs.gnu.org
Subject: Re: bug#15616: 24.3;
 Setting lexical-binding in file's local variables block should
 trigger a warning
Date: Tue, 15 Oct 2013 23:04:33 -0400
> Actually, my testing indicates that the documentation is inaccurate:
> lexical-binding can be set via either the first line or a local variables
> block, and it will take effect in both cases when the file is compiled. This
> is on version 24.3.1. So I guess the documentation just needs to be updated.

No.  The doc is right.  It sometimes work, but not always (more
specifically, it doesn't work if loaded uncompiled, IIRC).


        Stefan




This bug report was last modified 11 years and 223 days ago.

Previous Next


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