unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / 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; 6+ 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] 6+ messages in thread

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

Thread overview: 6+ 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-08 20:29         ` Mauro Aranda

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).