[Top][All Lists]

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

Re: Trouble executing (previous-buffer) at startup in .emacs

From: Teemu Likonen
Subject: Re: Trouble executing (previous-buffer) at startup in .emacs
Date: Thu, 11 Jul 2013 18:35:50 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Chris Seberino [2013-07-11 07:45:14 -07:00] wrote:

> I created a .emacs with only these 2 commands...
> (shell)
> (previous-buffer)
> I was hoping I'd see something else besides the GNU welcome screen
> message. The (shell) ran but the 2nd command didn't seem to. Why?

Emacs init files (~/.emacs or ~/.emacs.d/init.el) are executed quite
early in the start-up process and you don't see the effect of
previous-buffer function call. See info node "(elisp) Startup Summary"
or page
for more info.

If you are trying to start shell buffer the simplest way is probably to
start Emacs with this option:

    emacs -f shell

Attachment: pgpNMsILaPoXQ.pgp
Description: PGP signature

reply via email to

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