[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Emacs per-package startup files



> If the files there really depend on each other, then it may be nice
> to require that each xxxx.el file contains
> 
> 	(provide 'site-start-xxx)
> 
> (as the *last* line so nothing is provided in case of error), and other
> files will just use
> 
> 	(require 'site-start-xxx)
> 
> as needed.

Nice of course but now it happens that package A require stuff from B to be
loaded, but this code for A is always executed before the stuff from B is
executed and so A fails unless, the load process is run again and checks are
made whether something needs to be loaded or if it has been loaded in an
earlier run.

Erick



Reply to: