[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How can I change the default loading buffer?
From: |
Navy Cheng |
Subject: |
Re: How can I change the default loading buffer? |
Date: |
Thu, 30 Jul 2015 01:31:26 +0800 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
Thanks for you answer. *inhibit-startup-message* seems to be the key.
When I set the variable, my method is OK. But your .emacs seems to be
smarter.
On Wed, Jul 29, 2015 at 05:32:05PM +0300, kastian@mail.ru wrote:
> UPD
>
> (switch-to-buffer (get-buffer-create (shell)))
>
> This works only if you have also
>
> (setq inhibit-startup-message t) ;; remove startup message
>
> in .emacs
>
> On Wed, Jul 29, 2015 at 04:54:51PM +0300, kastian@mail.ru wrote:
> > Hello
> >
> > (switch-to-buffer (get-buffer-create (shell)))
> >
> > to the ent of .emacs
> >
> > On Wed, Jul 29, 2015 at 06:17:42PM +0800, Navy Cheng wrote:
> > > Hello,
> > > When I open emacs, the default buffer is *GNU Emacs*. How can I change
> > > it to *shell*?
> > >
> > > I have add
> > >
> > > (shell)
> > > (switch-to-buffer "*shell*")
> > >
> > > to the end of *.emacs*. (shell) is success, but the default buffer is
> > > not changed.
> > > Thanks.
> >