[Top][All Lists]

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

Re: How can I restart *scratch* buffer?

From: 李不显
Subject: Re: How can I restart *scratch* buffer?
Date: Sun, 8 Sep 2019 20:29:55 +0800

Marcin Borkowski <> 于2019年9月2日周一 下午11:30写道:

> On 2019-09-02, at 14:10, 李淼 <> wrote:
> > Sometimes I accidentally turn off the *scratch* buffer while I'm using
> > emacs. How can I restart *scratch* buffer without restarting emacs?
> How about M-: (startup--get-buffer-create-scratch) RET?
> M-: stuff is necessary because this is a non-interactive function.  It
> is also internal (because it contains two dashes) and undocumented
> (because it does not contain a docstring).  Use at your own risk.
> Hth,
> --
> Marcin Borkowski

I tried to do this, but *backtrace* says:

Debugger entered--Lisp error: (void-function
  eval((startup-get-buffer-create-scratch) nil)
  funcall-interactively(eval-last-sexp nil)
  call-interactively(eval-last-sexp nil nil)

reply via email to

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