[Top][All Lists]

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

Re: "emacs" and "emacs -q -l ~/.emacs.elc" behave differently

From: Mandar Mitra
Subject: Re: "emacs" and "emacs -q -l ~/.emacs.elc" behave differently
Date: Mon, 15 Oct 2012 23:53:02 +0530

Juanma Barranquero wrote (Mon, Oct 15, 2012 at 07:09:30PM +0200):
> On Mon, Oct 15, 2012 at 6:27 PM, mandar.mitra <> wrote:
> > I was under the impression that running emacs and running
> > "emacs -q -l ~/.emacs.elc" would be the same
> Generally speaking, no. The sequence of actions will be different.
> Take a look at the "Startup Summary" node of the Emacs Lisp Reference
> Manual.

Thanks for the pointer!

More details in case anyone else finds this useful: init file loading
happens in step 12, and "command-line options that were not handled
earlier" (presumably this includes -l) are processed in step 21. In
between, it does a bunch of stuff like calling package-initialize,
after-init-hook, etc.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]