[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 <mbork@mbork.pl> 于2019年9月2日周一 下午11:30写道:
>
> On 2019-09-02, at 14:10, 李淼 <flypigonsky@gmail.com> 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
> http://mbork.pl
I tried to do this, but *backtrace* says:
Debugger entered--Lisp error: (void-function
startup-get-buffer-create-scratch)
(startup-get-buffer-create-scratch)
eval((startup-get-buffer-create-scratch) nil)
elisp--eval-last-sexp(nil)
eval-last-sexp(nil)
funcall-interactively(eval-last-sexp nil)
call-interactively(eval-last-sexp nil nil)
command-execute(eval-last-sexp)
Re: How can I restart *scratch* buffer?, Marcin Borkowski, 2019/09/02
- Re: How can I restart *scratch* buffer?,
李不显 <=
Re: How can I restart *scratch* buffer?, 李不显, 2019/09/08
Re: How can I restart *scratch* buffer?, 李不显, 2019/09/08