GNU bug report logs - #12667
24.2; defcustom changed in lexical-binding

Previous Next

Package: emacs;

Reported by: Leo <sdl.web <at> gmail.com>

Date: Thu, 18 Oct 2012 02:19:02 UTC

Severity: normal

Found in version 24.2

Done: Chong Yidong <cyd <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Leo <sdl.web <at> gmail.com>
To: 12667 <at> debbugs.gnu.org
Cc: Stefan Monnier <monnier <at> iro.umontreal.ca>
Subject: bug#12667: 24.2; defcustom changed in lexical-binding
Date: Thu, 18 Oct 2012 10:15:35 +0800
[Message part 1 (text/plain, inline)]
1. Load the attached bigbug.el

2. open it in emacs and edit the definition of
   clang-project-default-settings, for example, remove "-v"

3. C-M-x the defcustom

4. C-h v clang-project-default-settings to show:

,----
| clang-project-default-settings is a variable defined in `bigbug.el'.
| Its value is (("SDKROOT" . "iphoneos")
|  ("OTHER_CFLAGS" "-ferror-limit=0" "-ObjC" "-DDEBUG=1" "-v"))
| 
| Original value was 
| (("SDKROOT" . "iphoneos")
|  ("OTHER_CFLAGS" "-ferror-limit=0" "-ObjC" "-DDEBUG=1"))
| 
| 
| Documentation:
| FIXME
| 
| You can customize this variable.
`----

i.e. C-M-x doesn't change the value of clang-project-default-settings,
this is opposite to the behaviour when lexical-binding is nil or in
previous emacsen.

Leo

[bigbug.el (application/emacs-lisp, attachment)]

This bug report was last modified 12 years and 265 days ago.

Previous Next


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