Path: utzoo!attcan!uunet!husc6!bu-cs!bucsb!jbw From: jbw@bucsb.UUCP (Joe Wells) Newsgroups: comp.emacs Subject: Re: Load order of 'site' files and '~/.emacs' Summary: Pnews garbage Message-ID: <2182@bucsb.UUCP> Date: 14 Nov 88 20:51:33 GMT References: <812@novavax.UUCP> Reply-To: jbw@bucsf.bu.edu (Joe Wells) Followup-To: comp.emacs Organization: Boston Univ Comp. Sci. Lines: 28 In article <812@novavax.UUCP> weiner@novavax.UUCP (Bob Weiner) writes: >... Look in >/lisp/startup.el and I believe you will find that >'site-init' or 'site-load' is loaded AFTER your .emacs init file. >This may account for the fact that your init file works only if you >execute it manually after starting emacs. [stuff deleted] >-- >Bob Weiner, Motorola, Inc., USENET: ...!gatech!uflorida!novavax!weiner >(407) 738-2087 The code in lisp/startup.el does these things in this order: 1) Loads user's ~/.emacs file. 2) Loads system-wide lisp/default.el file. 3) Loads terminal-setup lisp/term/*.el file. 4) Processes most command-line arguments. 5) Runs term-setup-hook. 6) Runs window-setup-hook. Anyone who needs something executed after the code in lisp/default.el can put it on term-setup-hook or window-setup-hook. lisp/site-init.el and lisp/site-load.el are loaded from lisp/loadup.el which is normally loaded before Emacs is dumped, on machines that support unexec. -- Joe Wells INTERNET: jbw%bucsf.bu.edu@bu-it.bu.edu UUCP: ...!harvard!bu-cs!bucsf!jbw