unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* fns-*.el and load-history
@ 2002-04-02  0:36 Stefan Monnier
  2002-04-03  4:55 ` Richard Stallman
  0 siblings, 1 reply; 4+ messages in thread
From: Stefan Monnier @ 2002-04-02  0:36 UTC (permalink / raw)



Is there any reason why we have this funny

	lib-src/fns-<version>.el
plus
	symbol-file-load-history-loaded

plus some code to write/read the load-history to/from that file ?

Why not do

	(setq load-history (copy-sequence (purecopy load-history)))

at the end of loadup.el so that the history is (mostly) in purespace.
That seems both simpler and more efficient (in my case at least fns-*.el
is pretty much always loaded anyway, but with the current scheme it's not
in pure space).


	Stefan

PS: the `copy-sequence' is because the spine of load-history is
    destructively modified with setcar/setcdr when re-loading a file.

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

end of thread, other threads:[~2002-04-07 18:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-02  0:36 fns-*.el and load-history Stefan Monnier
2002-04-03  4:55 ` Richard Stallman
2002-04-03  5:22   ` Stefan Monnier
2002-04-07 18:51     ` Richard Stallman

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