all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Question about defcustom and load-history
@ 2019-03-31  0:34 Mauro Aranda
  2019-03-31  7:13 ` Tassilo Horn
  0 siblings, 1 reply; 8+ messages in thread
From: Mauro Aranda @ 2019-03-31  0:34 UTC (permalink / raw)
  To: help-gnu-emacs

Hello everybody.

Working in a little project of mine, I found myself in the need of exploring
'load-history', after loading a file.

I noticed that for files that define customizable variables, there's a
duplicate entry for each one of them.  However, symbols defined with
'defvar'
appear only once.  Does anybody know why is that?
It took me a little by surprise to see that.

For example, after loading comint, looking at the values for the file
comint, you'll see
something like:
    (require . ring)
    (require . ansi-color)
    (require . regexp-opt)
    comint-prompt-regexp
    comint-prompt-read-only
    comint-prompt-read-only

Best regards,
Mauro.


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

end of thread, other threads:[~2019-05-08 20:29 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-31  0:34 Question about defcustom and load-history Mauro Aranda
2019-03-31  7:13 ` Tassilo Horn
2019-03-31  8:03   ` Stefan Monnier
2019-03-31 12:50     ` Mauro Aranda
2019-05-06 16:37       ` Stefan Monnier
2019-05-06 22:57         ` defconst risky-local (WAS: Question about defcustom and load-history) Noam Postavsky
2019-05-07  0:51           ` defconst risky-local Stefan Monnier
2019-05-08 20:29         ` Question about defcustom and load-history Mauro Aranda

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.