From xemacs-m  Wed Sep 10 12:22:02 1997
Received: from jagor.srce.hr (hniksic@jagor.srce.hr [161.53.2.130])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id MAA22198
	for <xemacs-beta@xemacs.org>; Wed, 10 Sep 1997 12:21:53 -0500 (CDT)
Received: (from hniksic@localhost)
	by jagor.srce.hr (8.8.7/8.8.6) id TAA11645;
	Wed, 10 Sep 1997 19:21:44 +0200 (MET DST)
To: XEmacs Developers <xemacs-beta@xemacs.org>
Cc: abraham@dina.kvl.dk (Per Abrahamsen)
Subject: Reloading dumped lisp
X-Attribution: Hrvoje
X-Face: Mie8:rOV<\c/~z{s.X4A{!?vY7{drJ([U]0O=W/<W*SMo/Mv:58:*_y~ki>xDi&N7XG
        KV^$k0m3Oe/)'e%3=$PCR&3ITUXH,cK>]bci&<qQ>Ff%x_>1`T(+M2Gg/fgndU%k*ft
        [(7._6e0n-V%|%'[c|q:;}td$#INd+;?!-V=c8Pqf}3J
From: Hrvoje Niksic <hniksic@srce.hr>
Date: 10 Sep 1997 19:21:43 +0200
Message-ID: <kigvi09qe3c.fsf@jagor.srce.hr>
Lines: 32
X-Mailer: Gnus v5.4.65/XEmacs 20.3(beta19) - "Kyiv"

While browsing the customization menus, I can see messages like
"loading cmdloop" flashing in the echo area.  It seems that Custom
doesn't know that the preloaded files are already loaded.  When I
asked Per about it, he said that custom uses load-history for that.

However, neither in XEmacs nor in Emacs (19.34) are the preloaded
files in load-history -- try:

xemacs -q -batch -eval load-history

However, cus-edit.el also contains the following code:

	      ((and (boundp 'preloaded-file-list)
		    (member load preloaded-file-list)))
	      ((assoc load load-history))
	      ((assoc (locate-library load) load-history))

I wasn't able to find a `preloaded-file-list' either in XEmacs or in
Emacs, but it looks like a good idea.  So, what is the solution?

1) make dumped-lisp-packages a user-visible variable, and use it
   instead of nonexistent preloaded-file-list;

2) fix up loading mechanism so that preloaded packages show up in
   load-history;

3) something else??

-- 
Hrvoje Niksic <hniksic@srce.hr> | Student at FER Zagreb, Croatia
--------------------------------+--------------------------------
I'm a Lisp variable -- bind me!

