unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#15718: 24.3.50; `C-M-x' does not work, with `defcustom' inside `when'
@ 2013-10-25 15:44 Drew Adams
  2019-08-15  2:57 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 3+ messages in thread
From: Drew Adams @ 2013-10-25 15:44 UTC (permalink / raw)
  To: 15718

emacs -Q

(when t
  (defcustom foo nil
   "..."
   :type boolean))

M-x set-variable foo t

Put point on foo in the defcustom sexp, and do `C-M-x'.  `foo' is echoed
in the echo area, giving you the impression that the defcustom was
reevaluated, reinitializing `foo'.

C-h v foo ;; => t, not nil.

Without the `when', i.e., with the `defcustom' at top level, the value
is nil, as a user would expect.



In GNU Emacs 24.3.50.1 (i686-pc-mingw32)
 of 2013-10-19 on LEG570
Bzr revision: 114715 rgm@gnu.org-20131019023520-s8mwtib7xcx9e05w
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --enable-checking 'CFLAGS=-O0 -g3' CPPFLAGS=-DGLYPH_DEBUG=1'





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-08-15  4:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-25 15:44 bug#15718: 24.3.50; `C-M-x' does not work, with `defcustom' inside `when' Drew Adams
2019-08-15  2:57 ` Lars Ingebrigtsen
2019-08-15  4:41   ` Drew Adams

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).