help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Bringing back a scratch buffer ?


From: tomas
Subject: Re: Bringing back a scratch buffer ?
Date: Wed, 4 Dec 2019 16:14:16 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

On Wed, Dec 04, 2019 at 09:55:17AM -0500, jonetsu wrote:
> Simple question: If the scratch buffer gets inadvertently deleted, is it
> possible to bring it back ?

Depends on what you mean by "bring back" :-)

There /is/ an internal function startup--get-buffer-create-scratch which
creates a *scratch* buffer and puts it in elisp interaction mode. The
nice and warm welcome text won't be there, though.

Coming from the other side, you can just have a buffer named *scratch*
created by just "changing into it" (i.e. C-x b *scratch* <enter>). It
won't be in Lisp interaction mode, though.

Cheers
-- t

Attachment: signature.asc
Description: Digital signature


reply via email to

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